Skip to content

Commit 4e3a0a5

Browse files
authored
New source tree
New source tree
2 parents 03753c6 + 5daaae5 commit 4e3a0a5

File tree

13 files changed

+10
-7
lines changed

13 files changed

+10
-7
lines changed

.cache/v/cache/lastfailed

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"test_app.py": true
3+
}

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ RUN pip install -q -r requirements.txt
1010

1111
COPY . ./
1212

13-
CMD ["streamlit", "run", "app.py"]
13+
CMD ["streamlit", "run", "src/app.py"]

Procfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
web: STREAMLIT_SERVER_PORT=$PORT streamlit run app.py
1+
web: STREAMLIT_SERVER_PORT=$PORT streamlit run src/app.py

docs/contributing/app-dev.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ See [Streamlit's Getting Started guide](https://docs.streamlit.io/getting_starte
2424
```bash
2525
pipenv shell
2626
pipenv install
27-
streamlit run app.py
27+
streamlit run src/app.py
2828
```
2929

3030
### With `conda`
@@ -33,7 +33,7 @@ streamlit run app.py
3333
conda env create -f environment.yml
3434
source activate chime
3535
pip install streamlit
36-
streamlit run app.py
36+
streamlit run src/app.py
3737
```
3838

3939
### Choosing a Different Port
@@ -42,15 +42,15 @@ If you need to run the application on a different port than the default (8000),
4242

4343
```bash
4444
export STREAMLIT_SERVER_PORT=1234
45-
streamlit run app.py
45+
streamlit run src/app.py
4646
```
4747

4848
## Project Layout
4949

5050
### Application files
5151

52-
- `app.py`: Main source for the application
53-
- `test_app.py`: [pytest](https://docs.pytest.org/en/latest/) tests for `app.py`
52+
- `penn_chime/app.py`: Main source for the application
53+
- `penn_chime/test_app.py`: [pytest](https://docs.pytest.org/en/latest/) tests for `app.py`
5454
- `script/`: Developer workflow scripts following [GitHub's Scripts To Rule Them All](https://github.com/github/scripts-to-rule-them-all) pattern.
5555
- `.streamlit/`: [Streamlit config options](https://docs.streamlit.io/cli.html)
5656
- `.env`: Local environment variables to use when running application, this file is copied from `.env.example` to start you out and then ignored by git

app.py renamed to src/app.py

File renamed without changes.

cli.py renamed to src/cli.py

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)