Skip to content

Commit 268a8fa

Browse files
committed
Add heroku setup files
1 parent 0637730 commit 268a8fa

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

Procfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
web: sh setup.sh && streamlit run app.py

setup.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
mkdir -p ~/.streamlit/
2+
3+
echo "\
4+
[general]\n\
5+
email = \"sg4fz@virginia.edu\"\n\
6+
" > ~/.streamlit/credentials.toml
7+
8+
echo "\
9+
[server]\n\
10+
headless = true\n\
11+
enableCORS=false\n\
12+
port = $PORT\n\
13+
" > ~/.streamlit/config.toml

0 commit comments

Comments
 (0)