/cubmongo

Use Cubism.js for time-series visualization of updates to multiple MongoDB collections

Primary LanguageJavaScript

cubmongo

Use Cubism.js for time-series visualization of updates to multiple MongoDB collections.

development

pip install -r requirements.txt
python cubmongo.py # starts Flask debug server

The current code connects to a set of hard-coded databases via mongogrant. Eventually db config will be refactored to a config file. For now, this repo is primarily used internally by the Materials Project to produce a dashboard to monitor its database build pipeline.

deployment

This is a Flask app. Example multi-worker deployment of WSGI app e.g. behind a reverse proxy:

gunicorn -w 4 -b 0.0.0.0:8000 cubmongo:app