Skip to content
This repository has been archived by the owner on Jul 7, 2022. It is now read-only.

Commit

Permalink
Merge pull request #65 from CodeForPhilly/fix_heroku
Browse files Browse the repository at this point in the history
Fix heroku
  • Loading branch information
MooseQuest authored Mar 18, 2020
2 parents a1c4cf2 + 72aebc9 commit 66f9269
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web: streamlit run app.py
web: sh setup.sh && streamlit run app.py && echo $PORT
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 = \"[email protected]\"\n\
" > ~/.streamlit/credentials.toml

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

0 comments on commit 66f9269

Please sign in to comment.