$ git clone https://github.com/dc-aichara/COVID19-India-Tracker.git # clone repository
$ cd COVID19-India-Tracker # Change directory
$ conda env create -f environment.yml # create conda environment from `environment.yml`. Recommended.
$ conda activate aichara
OR
$ pip install -r requirements.txt # Install dependencies in a python environment.
[settings]
MAPBOX_SECRET=YOUR_MAPBOX_KEY
MAPBOX_STYLE=mapbox://styles/mapbox/dark-v9
Edit data.py
to use save and load data from local directory instead of Mongodb
Or setup MongoDB account and credentials to settings.ini
.
[settings]
MAPBOX_SECRET=YOUR_MAPBOX_KEY
MAPBOX_STYLE=mapbox://styles/mapbox/dark-v9
MGDB_pass=Your_MongoDB_Password
MGDB_user=Your_MongoDB_Username
$ python index.py
visit http://127.0.0.1:8050/ to view dashboard.
Read my articles on medium:
- Clone this repo
- Create a new branch
- Make changes
- Submit a PR