Giter Site home page Giter Site logo

mschoettle / covid19mtl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jeremymoreau/covid19mtl

0.0 1.0 0.0 828.3 MB

COVID-19 epidemiological dashboard for Montreal

Home Page: https://covid19mtl.ca/en

License: MIT License

Python 95.48% CSS 3.47% Dockerfile 0.20% Procfile 0.02% Shell 0.84%

covid19mtl's Introduction

COVID-19 MTL

A simple dashboard to display up-to-date epidemiological data on COVID-19 in Montreal.

View the application at covid19mtl.ca

I'd be happy to help if you'd like to make a version of this for your own city. You can find my contact info here: jeremymoreau.com

Running Locally

Here are the steps to follow if you want to run COVID-19 MTL locally for testing or development purposes:

  1. Clone this repository then navigate to the checkout
  2. Create a virtual environment: python3.8 -m venv .venv
  3. Activate the environment: . .venv/bin/activate (the command is ., meaning source or include)
  4. Install dependencies: pip install -r requirements.txt -r requirements-dev.txt
  5. Run the app! python -m app
  6. Optional: Run the data refresh script to download new data python refreshdata.py

Managing dependencies

We use pip-tools to make it easy to add or change dependencies. Direct dependencies of the app are added to requirements.in, with version specifiers that allow bugfix updates. The command pip-compile requirements.in writes the full list of all needed packages, with pinned versions, to the requirements.txt file, which is used for deployment.

To add a dependency or change the version of an existing one, edit requirements.in and run pip-compile, adapt the code of the app if that's needed, then commit all changes.

License

The COVID-19 MTL project is available under the MIT License. The hosted version at https://covid19mtl.ca is CC BY 4.0, but you are not required to apply this license to forks of this code (though it is encouraged as a CC license will make it clear that anyone is free to copy the plots/images and post them elsewhere).

Contributors

Screenshot

covid19mtl.ca

covid19mtl's People

Contributors

dependabot-preview[bot] avatar jeremymoreau avatar merwok avatar mschoettle avatar yenk avatar ygingras avatar zaidaemtzmo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.