Flusight is an influenza forecasts visualizer for the CDC FluSight Challenge.
Live at https://reichlab.github.io/flusight/
For adding weekly submissions the recommended method is to create a pull request
on the master branch of this repository.
Fork this project and add your .csv
files in ./data/
directory as described
in the project’s
workflow wiki. The pull
requests will be automatically built and once merged to master, will be deployed
to the website.
Flusight works as a static webpage and needs a static hosting service (like github’s). Building the project and bundling data files requires node.js, get it here.
-
Clone this repository
git clone git@github.com:reichlab/flusight.git && cd ./flusight
-
Install dependencies
npm install
-
Put prediction submission files in
./data
-
Parse prediction files
npm run parse
-
Bundle production build
npm run build
-
Host. Copy over contents from
./dist
to your hosting service. -
Alternatively, a quick deploy to github pages can be done by running
npm run deploy
Remember to point git remote origin to the repository where you want the deployment to take place
On github, commits to
master
are automatically built and deployed togh-pages
with travis.master
contains most recent working version.develop
contains the latest commits.
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build