Skip to content

Commit

Permalink
add proctile and setup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedbesbes committed Apr 1, 2021
1 parent 226cb82 commit 0e2c7ef
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: sh setup.sh && streamlit run app.py
13 changes: 13 additions & 0 deletions setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
mkdir -p ~/.streamlit/

echo "\
[general]\n\
email = \"ahmed.besbes@hotmail.com\"\n\
" > ~/.streamlit/credentials.toml

echo "\
[server]\n\
headless = true\n\
enableCORS=false\n\
port = $PORT\n\
" > ~/.streamlit/config.toml

0 comments on commit 0e2c7ef

Please sign in to comment.