Skip to content
/ viz Public
forked from globaldothealth/viz

Web frontend to visualize disease data

License

Notifications You must be signed in to change notification settings

rkassa/viz

 
 

Repository files navigation

Local development

With "official" data

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

With local data

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

Testing

Before deploying, commit your changes or sending a pull request, please run the tests:

./test

Deployment

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).

About

Web frontend to visualize disease data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 67.9%
  • SCSS 15.6%
  • Python 13.1%
  • HTML 3.4%