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.
- 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.
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 imagesIf you want to see all image containers that are running:
docker psAnd 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
- 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)
- Create an issue and mention any project admin (@RodolfoFerro or @scratchmex).
- Fork the repo and clone your fork.
- Create a new branch and add your changes.
- Open a PR containing a detailed descrition about your changes and mention the associated issue.