grapplerulrich commited on
Commit
df14c05
1 Parent(s): ea2fb58

Setup heroku

Browse files
Files changed (2) hide show
  1. Procfile +1 -0
  2. setup.sh +13 -0
Procfile ADDED
@@ -0,0 +1 @@
 
 
1
+ web: sh setup.sh && streamlit run main.py
setup.sh ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ mkdir search-results
2
+ mkdir web-pages
3
+ mkdir page-content
4
+ mkdir summaries
5
+ mkdir -p ~/.streamlit/
6
+
7
+ echo "\
8
+ [server]\n\
9
+ headless = true\n\
10
+ port = $PORT\n\
11
+ enableCORS = false\n\
12
+ \n\
13
+ " > ~/.streamlit/config.toml