Make sure dependencies in prerequisites.md
are met. You also need to get a
mapbox API key and set it to an environment variable:
export MAPBOX_API_TOKEN="[your-mapbox-api-key-here]"
Then, to run the application locally, pick a disease, for instance 'covid-19' and:
./run covid-19
Then, in your browser, load http://localhost:8000
First, start a server to serve your local data from port 8001:
cd path/to/your/local/data && python3 -m http.server 8001
Then start the vizualization server:
./run local
Before deploying, commit your changes or sending a pull request, please run the tests:
./test
Run this:
./deploy covid-19 path/to/target
for the covid-19
disease (replace as needed) and then copy the contents of the target directory as appropriate (e.g. to AWS).