Mozilla Growth & Usage Dashboard, pronounced "Good"
Перейти к файлу
John Karahalis e837b86cc6 Close over lastMetric and cacheObj in cache.js 2019-12-06 13:55:58 -05:00
public Configure Prettier and EditorConfig 2019-11-26 16:43:49 -05:00
src Close over lastMetric and cacheObj in cache.js 2019-12-06 13:55:58 -05:00
tests/utils Configure Prettier and EditorConfig 2019-11-26 16:43:49 -05:00
.babelrc fixes bug in intensity graphs 2019-07-30 13:49:34 -07:00
.dockerignore Add dockerfile and dockerignore 2019-08-15 10:58:27 -07:00
.editorconfig Configure Prettier and EditorConfig 2019-11-26 16:43:49 -05:00
.eslintignore Configure Prettier and EditorConfig 2019-11-26 16:43:49 -05:00
.eslintrc.js Configure Prettier and EditorConfig 2019-11-26 16:43:49 -05:00
.gitignore Update development instructions in README 2019-10-25 17:36:22 -04:00
.prettierignore Configure Prettier and EditorConfig 2019-11-26 16:43:49 -05:00
Dockerfile Add tini init system 2019-08-15 11:00:41 -07:00
README.md Configure Prettier and EditorConfig 2019-11-26 16:43:49 -05:00
package-lock.json Refactor state management 2019-11-28 04:00:39 -05:00
package.json Refactor state management 2019-11-28 04:00:39 -05:00
rollup.config.js Configure Prettier and EditorConfig 2019-11-26 16:43:49 -05:00
server.js Rename yMax to activeUsersYMax 2019-12-03 18:55:26 -05:00

README.md

Growth and Usage Dashboard

This is a light, server-powered dashboard showing the smoot growth metrics. It's meant to be a proof of concept for now. The frontend talks to a tiny node server by passing it the segments / usage criteria / etc. necessary for the query, and in theory the tiny web server sends the query to be run by BigQuery (subject to an API key, etc.).

The basic interactions are on-track, but there is much to the frontend design I haven't actually done yet, so if something seems a bit amiss / inaccurate, it will probably be fixed / implemented. All the same, feel free to file an issue in this repository w/ questions / concerns.

Dependencies:

– Node 11.5.0 / current NPM version

To install:

  • Make sure you nave Node / npm.
  • run npm install in the directory where you cloned this repository.

To run locally:

The GCP commands in these instructions will not work unless you work under Katie Parlante. If you want to run this project and you don't work under Katie Parlante, please contact Jason Thomas or Blake Imsland.

  • Run gcloud auth application-default login
  • Run gcloud config set project moz-fx-data-derived-datasets
  • To run the server, run node server which starts a tiny web server on port 3000 (go to localhost:3000 in your browser).
  • To build / update the frontend, type npm run dev, which spins up another web server (that we're not going to use, sorry for the redundancy here) and builds the little dev version of the frontend. – I'll make it so you don't have to run two servers like this at some point, but this works for now!

Ping me @hamilton on Slack for any other questions.