Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 1.51 KB

README.md

File metadata and controls

46 lines (32 loc) · 1.51 KB

CHIME

The COVID-19 Hospital Impact Model for Epidemics

CHIME

Join out Code For America team or our Slack channel if you'd like to chat with us. We'd appreciate your feedback.

Development

To test the app locally just run:

streamlit run app.py

This will open a browser window with the app running.

With pipenv

pipenv shell
pipenv install
streamlit run app.py

With conda

conda create -f environment.yml
source activate chime
streamlit run app.py

Developing with docker

Copy .env.example to be .env and run the container.

cp .env.example .env
docker-compose up

You should be able to view the app via localhost:8000. If you want to change the port, then set PORT in the .env file.

NOTE this is just for usage, not for development--- you would have to restart and possibly rebuild the app every time you change the code.

Deployment

Before you push your changes to master make sure that everything works in development mode.

Changes merged to master will be automatically deployed to http://penn-chime.phl.io/.