Spaces:
Sleeping
Sleeping
JohnAlexander23
commited on
Commit
•
d42489e
1
Parent(s):
cf24a38
Create setup.sh
Browse files
setup.sh
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
mkdir -p ~/.streamlit/
|
2 |
+
echo "\
|
3 |
+
[general]\n\
|
4 |
+
email = \"\"\n\
|
5 |
+
" > ~/.streamlit/credentials.toml
|
6 |
+
echo "\
|
7 |
+
[server]\n\
|
8 |
+
headless = true\n\
|
9 |
+
enableCORS=false\n\
|
10 |
+
port = $PORT\n\
|
11 |
+
" > ~/.streamlit/config.toml
|