Code Monkey home page Code Monkey logo

covid19-gto's Introduction

[WIP] COVID-19 cases in Guanajuato

This project is a WIP (Work In Progress) about serving simple and clean data about COVID-19 reported cases from the official source (https://coronavirus.guanajuato.gob.mx) in Guanajuato.

Features:

  • All information is served simple and clean.
  • Total cases served as they appear in the offical source.
  • Hoverable map with traffic light symbology per city (red=confirmed cases, yellow=suspicious case, green=no cases).
  • Embedded table containing the cases per city.

Setup

Clone the repository.

git clone https://github.com/RodolfoFerro/covid19-gto.git

We need to install Docker. To install Docker on a Linux (tested on Ubuntu 18.04 LTS) machine, we need to run the following.

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
sudo apt-get install -y docker-ce

Now that we have Docker installed, we can proceed to create the container image:

docker build -t gto_covid19:latest .

TIP: To see the Docker images in your computer, you can run:

docker images

If you want to see all image containers that are running:

docker ps

And to stop running containers:

docker kill <CONTAINER ID>

Finally, we run the application inside the container.

docker run -d -p 5000:5000 -v $(pwd):/app gto_covid19:latest

Roadmap

  • Update about section
  • Add a cron job to scrape data
  • Create a webhook for auto-deployment in server
  • Propose a way to extend scraped info (in order to create a more complete dashboard)

Contributing

  1. Create an issue and mention any project admin (@RodolfoFerro or @scratchmex).
  2. Fork the repo and clone your fork.
  3. Create a new branch and add your changes.
  4. Open a PR containing a detailed descrition about your changes and mention the associated issue.

covid19-gto's People

Contributors

scratchmex avatar rodolfoferro avatar

Stargazers

Manuel Loza avatar José Carlos López Arriaga avatar Mauricio Flores Hernández avatar Luis De Anda avatar Miguel Angel Camacho C. avatar Gabriel Missael Barco avatar Gibran Fuentes-Pineda avatar Eyder avatar Andrea Monserrat Arredondo avatar Luis Contreras Guerra avatar

Watchers

James Cloos avatar  avatar

Forkers

scratchmex

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.