Skip to content

Commit ee38e78

Browse files
Merge branch 'develop' into log-scale
2 parents fbc3329 + 94eb9ce commit ee38e78

28 files changed

+378
-147
lines changed

.github/workflows/pythonapp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
python -m pytest
4444
- name: Run App
4545
run: |
46-
PARAMETERS=./defaults/cypress.cfg streamlit run st_app.py &
46+
PARAMETERS=./defaults/cypress.cfg ASSETS=./defaults/assets streamlit run st_app.py &
4747
- name: Cypress
4848
uses: cypress-io/github-action@v1
4949
with:

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
FROM python:3.7.7-slim-buster
2+
ENV ASSETS=./defaults/assets/
23
ENV PARAMETERS=./defaults/webapp.cfg
4+
ENV PORT=8000
35
WORKDIR /app
46
COPY README.md .
57
COPY setup.cfg .
@@ -11,5 +13,4 @@ COPY src src
1113
COPY st_app.py st_app.py
1214
RUN pip install -q .
1315

14-
CMD ["streamlit", "run", "st_app.py"]
15-
16+
CMD STREAMLIT_SERVER_PORT=$PORT streamlit run st_app.py

Pipfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ PyYAML = "*"
1919
python-i18n = "*"
2020
gspread="*"
2121
oauth2client="*"
22+
penn-chime = {path = "."}
2223

2324
[requires]
2425
python_version = "3.7"

Pipfile.lock

Lines changed: 115 additions & 110 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Procfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
web: PARAMETERS=defaults/webapp.cfg STREAMLIT_SERVER_PORT=$PORT streamlit run st_app.py
1+
web: PARAMETERS=./defaults/webapp.cfg ASSETS=./defaults/assets STREAMLIT_SERVER_PORT=$PORT streamlit run st_app.py
Binary file not shown.

defaults/assets/PPE_Screenshot.jpg

253 KB
Loading
1.2 MB
Loading
1.01 MB
Loading

defaults/cli.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
--icu-rate 0.0075
77
--infectious-days 10
88
--market-share 0.15
9-
--n-days 100
9+
--n-days 30
1010
--population 3600000
1111
--recovered 0
1212
--relative-contact-rate 0.45

0 commit comments

Comments
 (0)