Skip to content

Commit b9f3c88

Browse files
authored
Merge pull request #37 from quinn-dougherty/refactor
Refactor
2 parents 6dac2d7 + 76b16c9 commit b9f3c88

File tree

10 files changed

+389
-295
lines changed

10 files changed

+389
-295
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ RUN chmod u+x setup.sh && PORT=8000 ./setup.sh
1212

1313
# expanding shell variables in CMD is tricky, see
1414
# https://stackoverflow.com/questions/23071214/use-environment-variables-in-cmd
15-
CMD ["streamlit", "run", "--server.port", "8000", "app.py"]
15+
CMD ["streamlit", "run", "--server.port", "8000", "src/app.py"]

Procfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
web: sh setup.sh && streamlit run app.py
1+
web: sh setup.sh && streamlit run src/app.py

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,22 @@ Join out [Code For America](https://codeforphilly.org/projects/chime--covid-19_h
88
## Development
99
To test the app locally just run:
1010

11-
`streamlit run app.py`
11+
`streamlit run src/app.py`
1212

1313
This will open a browser window with the app running.
1414

1515
### With `pipenv`
1616
```bash
1717
pipenv shell
1818
pipenv install
19-
streamlit run app.py
19+
streamlit run src/app.py
2020
```
2121

2222
### With `conda`
2323
```bash
2424
conda create -f environment.yml
2525
source activate chime
26-
streamlit run app.py
26+
streamlit run src/app.py
2727
```
2828

2929
### Developing with `docker`

app.py

Lines changed: 0 additions & 290 deletions
This file was deleted.

src/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#!/usr/bin/env python

0 commit comments

Comments
 (0)