I am in the last steps of deploying Streamlit app in Heroku. I get this error:
setup.sh: 3: setup.sh: cannot create ~.streamlit/config.toml: Directory nonexistent.
How can I create config.toml. I using linux.
Here is my setup.sh file
mkdir -p ~/.streamlit/
echo "\ 
[server]\n\
headless = true\n\
port = $PORT\n\
enableCORS = false\n\
\n\
" > ~/.streamlit/config.toml

Github repository: https://github.com/shakasom/crime-eda-app 35