A Dashboard for the coronavirus pandemic.
The following are detailed instructions to setting up your python environment and running the code in this repo. We assume Python 3.7 is installed in a Ubuntu 18.04 system.
-
Install required system packages
sudo apt-get install python3.7-dev sudo apt-get install libproj-dev proj-data proj-bin sudo apt-get install libgeos-dev
-
Clone the repository
git clone https://github.com/NAMD/covidash.git path/to/clone/dir
-
Create and activate a new Python 3.7 environment
python3.7 -m venv covidash-env source covidash-env/bin/activate -
Install the requirements
pip install -r requirements
Link to the Streamlit Documentation.
streamlit run dashboard/app.pygit remote add heroku <heroku-remote>Buildpack documentation.
To avoid the instalation of apt packages in every build:
heroku config:set APT_CACHING=yesheroku buildpacks:add --index 1 heroku-community/aptgit push heroku master