You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/contributing/app-dev.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ See [Streamlit's Getting Started guide](https://docs.streamlit.io/getting_starte
24
24
```bash
25
25
pipenv shell
26
26
pipenv sync --dev
27
-
streamlit run src/app.py
27
+
PARAMETERS=defaults/webapp.cfg streamlit run src/app.py
28
28
```
29
29
30
30
### With `conda`
@@ -33,16 +33,15 @@ streamlit run src/app.py
33
33
conda env create -f environment.yml
34
34
source activate chime
35
35
pip install streamlit
36
-
streamlit run src/app.py
36
+
PARAMETERS=defaults/webapp.cfg streamlit run src/app.py
37
37
```
38
38
39
39
### Choosing a Different Port
40
40
41
41
If you need to run the application on a different port than the default (8000), you can export a variable in your shell session to override it with any port number of your choice before running:
42
42
43
43
```bash
44
-
export STREAMLIT_SERVER_PORT=1234
45
-
streamlit run src/app.py
44
+
STREAMLIT_SERVER_PORT=1234 PARAMETERS=defaults/webapp.cfg streamlit run src/app.py
0 commit comments