/ngif

Plotly Dash app to visualise and download NGIF sensor data

Primary LanguagePython

National Green Infrastructure Facility

Tests

Plotly Dash app to visualise and download NGIF sensor data

Usage

docker run -p 80:5000 --env MONGO_URI=mongodb://username:password@hostname:27017/database?authSource=admin --env GUNICORN_CMD_ARGS="--bind=0.0.0.0:5000" --name ngif fmcclean/ngif

For HTTPS use:

docker run -d -p 443:5000 --env MONGO_URI=mongodb://username:password@hostname:27017/database?authSource=admin --env GUNICORN_CMD_ARGS="--bind=0.0.0.0:5000 --certfile=/cert/cert.cer --keyfile=/cert/key.key" -v /home/user/cert:/cert --restart always --name ngif fmcclean/ngif

Dependencies

pip install -r requirements.txt

Tests

python -m unittest