Dashboard personalizado de Google Analytics especializado en el sector de turismo.
- Puedes reportar un bug a reportar un bug.
- Puedes reportar un requerimiento a solicitar una nueva característica.
- Documentación de toda la API de Google Analytics, librerías y SDKs puede ser encontrada en Google Analytics Developers.
Analytics Dashboard corre sobre Google App Engine y es construído con node.js. Para correr la plataforma localmente se necesita las siguientes dependencias instaladas en tu sistema:
- Node.js (v6.0.0+)
- Google Cloud SDK (v132.0.0+, with
dev_appserver.py
in yourPATH
) - pip
- GraphicsMagick (with
gm
in yourPATH
)
Una vez instalados todas las dependencias, sigue estos pasos para construir y correr la plataforma localmente:
# Clona el repositorio.
git clone https://github.com/dpalominop/AnalyticsDashboard.git
cd AnalyticsDashboard
# Instala las dependencias.
pip install -r requirements.txt -t python_modules
npm install
# Instala el componente 'gcloud app Python Extensions'
gcloud components install app-engine-python
# Construye el sitio y ejecuta el servidor local 'App Engine'.
npm start
To deploy your changes to production, follow the steps described in the pervious section to install dependencies and then run the deploy
npm script with the NODE_ENV
environment variable set to "production":
NODE_ENV=production npm run deploy
If you wish to preview your changes prior to releasing them in production, run the stage
npm script:
NODE_ENV=production npm run stage
When running the deploy
or stage
scripts, the App Engine version number is automatically generated for you. However, the version can be overridden by setting the APP_ENGINE_VERSION
environment variable.
NODE_ENV=production APP_ENGINE_VERSION=feature-test npm run stage
Note: running the deploy
or stage
script requires permissions for their respective App Engine projects.