nickreich / flusight-1

Influenza forecasts visualizer

Home Page:https://reichlab.github.io/flusight/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

icon

Flusight is an influenza forecasts visualizer for the CDC FluSight Challenge.

Live at https://reichlab.github.io/flusight/

Build Status GitHub pull requests

Quickstart

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.

Deploying

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

Development

On github, commits to master are automatically built and deployed to gh-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

About

Influenza forecasts visualizer

https://reichlab.github.io/flusight/

License:GNU General Public License v3.0


Languages

Language:JavaScript 73.5%Language:Vue 17.1%Language:CSS 7.9%Language:Shell 1.2%Language:HTML 0.4%