From c724eb019867a7f17823f5a09a3338b8d0262795 Mon Sep 17 00:00:00 2001 From: Chris Alfano Date: Tue, 17 Mar 2020 19:48:06 -0400 Subject: [PATCH 1/2] chore: remove setup.sh since the files it generates are tracked in git now --- Procfile | 2 +- setup.sh | 13 ------------- 2 files changed, 1 insertion(+), 14 deletions(-) delete mode 100644 setup.sh diff --git a/Procfile b/Procfile index 265de863..94c24fb1 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -web: sh setup.sh && streamlit run app.py +web: streamlit run app.py diff --git a/setup.sh b/setup.sh deleted file mode 100644 index 7bfbbab5..00000000 --- a/setup.sh +++ /dev/null @@ -1,13 +0,0 @@ -mkdir -p ~/.streamlit/ - -echo "\ -[general]\n\ -email = \"pennsignals@uphs.upenn.edu\"\n\ -" > ~/.streamlit/credentials.toml - -echo "\ -[server]\n\ -headless = true\n\ -enableCORS=false\n\ -port = $PORT\n\ -" > ~/.streamlit/config.toml From 9d94655f16564488ef88ad5434286577051239c2 Mon Sep 17 00:00:00 2001 From: Chris Alfano Date: Tue, 17 Mar 2020 19:48:26 -0400 Subject: [PATCH 2/2] style: delint TOML --- .streamlit/config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.streamlit/config.toml b/.streamlit/config.toml index 6598087f..6f67995a 100644 --- a/.streamlit/config.toml +++ b/.streamlit/config.toml @@ -1,4 +1,4 @@ [server] headless = true -enableCORS=false +enableCORS = false port = 8000