Skip to content

Commit

Permalink
moved to new dir as not required for heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
Ddhruv-IOT committed Jan 6, 2023
1 parent bf99376 commit fbf4461
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions heroku support files/Aptfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
portaudio19-dev
python-all-dev
1 change: 1 addition & 0 deletions heroku support files/Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: sh setup.sh && streamlit run text_analyzer.py
8 changes: 8 additions & 0 deletions heroku support files/setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
mkdir -p ~/.streamlit/
echo "\
[server]\n\
headless = true\n\
port = $PORT\n\
enableCORS = false\n\
\n\
" > ~/.streamlit/config.toml

0 comments on commit fbf4461

Please sign in to comment.