We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a1c4cf2 + 72aebc9 commit 66f9269Copy full SHA for 66f9269
Procfile
@@ -1 +1 @@
1
-web: streamlit run app.py
+web: sh setup.sh && streamlit run app.py && echo $PORT
setup.sh
@@ -0,0 +1,13 @@
+mkdir -p ~/.streamlit/
2
+
3
+echo "\
4
+[general]\n\
5
+email = \"[email protected]\"\n\
6
+" > ~/.streamlit/credentials.toml
7
8
9
+[server]\n\
10
+headless = true\n\
11
+enableCORS=false\n\
12
+port = $PORT\n\
13
+" > ~/.streamlit/config.toml
0 commit comments