Skip to content

akre96/CovidCompare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ccbb46e · Feb 23, 2022

History

96 Commits
Oct 20, 2021
Jan 12, 2022
Jan 15, 2022
Feb 23, 2022
Jan 15, 2022
Jan 15, 2022
Dec 9, 2020
Dec 17, 2020
Dec 12, 2020
Jan 15, 2022
Nov 19, 2020
Nov 21, 2020
Jan 14, 2022
Jan 15, 2022
Nov 24, 2020
Jan 14, 2022
Jan 14, 2022
Dec 13, 2020
Dec 17, 2020
Dec 3, 2021
Jan 15, 2022
Dec 17, 2020

Repository files navigation

Covid Compare Visualization Tool

This repository contains code for the visualization of COVID death predictions on models that operate globally.

Based on the preprint: Predictive performance of international COVID-19 mortality forecasting models

Running Visualization Locally

  1. Pull repository
  2. Create config file to point to database named next.config.js Example:
module.exports = { 
     env: {    
        'MYSQL_HOST': HOST,   
        'MYSQL_PORT': PORT,    
        'MYSQL_DATABASE': DATABASE,    
        'MYSQL_USER': USER,    
        'MYSQL_PASSWORD': PASSWORD,  
    }
}
  • Ask author for help to connect to our database
  1. Run command npm run dev

Working with Docker image

Building the app

COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker-compose build

Run Locally

docker-compose up