From c9f2e8b8c1fdc3de956b813b698d57849d35bc96 Mon Sep 17 00:00:00 2001 From: Shikhar Gupta <53982388+SG115@users.noreply.github.com> Date: Sun, 15 May 2022 19:07:59 +0530 Subject: [PATCH] Create setup.sh --- setup.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 setup.sh diff --git a/setup.sh b/setup.sh new file mode 100644 index 0000000..d7c7f99 --- /dev/null +++ b/setup.sh @@ -0,0 +1,13 @@ +mkdir -p ~/.streamlit/ + +echo "\ +[general]\n\ +email = \"email@domain\"\n\ +" > ~/.streamlit/credentials.toml + +echo "\ +[server]\n\ +headless = true\n\ +enableCORS=false\n\ +port = $PORT\n\ +" > ~/.streamlit/config.toml