Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 936 Bytes

README.md

File metadata and controls

34 lines (25 loc) · 936 Bytes

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