14 lines
287 B
Bash
14 lines
287 B
Bash
# Modified from
|
|
# https://github.com/MaartenGr/streamlit_guide/blob/master/Procfile
|
|
# and
|
|
# https://github.com/MaartenGr/streamlit_guide/blob/master/setup.sh
|
|
|
|
mkdir -p ~/.streamlit/
|
|
|
|
echo "\
|
|
[server]\n\
|
|
headless = true\n\
|
|
enableCORS=false\n\
|
|
port = $PORT\n\
|
|
" > ~/.streamlit/config.toml
|