Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Latest commit

 

History

History
73 lines (45 loc) · 1.85 KB

README.md

File metadata and controls

73 lines (45 loc) · 1.85 KB

COVID-19 Turkey Statistics API

Provides information about COVID-19 in Turkey.

Setup

Run on a Docker container

  1. Clone this repository

    git clone https://github.com/ykursadkaya/covid19-turkey-api.git
    cd covid19-turkey-api
  2. Build Docker image

    docker build -t covidapi .
  3. Run container

    docker run -p <external-port>:5000 --name <container-name> covidapi

Run directly on your machine

  1. Install Python 3.8.x or later (script has walrus assignment)

    Python Download Page

  2. Install pip for Python3

    pip installation guide

  3. Clone this repository

    git clone https://github.com/ykursadkaya/covid19-turkey-api.git
    cd covid19-turkey-api
  4. Install required Python packages

    pip3 install -r requirements.txt
  5. Run script

    python3 app.py