Need help with Streamlit_DataScience_Apps?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

260 Stars 175 Forks 47 Commits 8 Opened issues


Streamlit Data Science and ML Apps in Python

Services available


Need anything else?

Contributors list

# 88,230
41 commits


Streamlit Data Science and ML Apps in Python

How to Deploy Streamlit Apps to Heroku

1. Create An Account Heroku by signing up.

2. Install Heroku CLI

3. Create Your Github Repository for your app

4. Build your app

5. Login to Heroku From the CLI

heroku Login

6. Create Your 3 Required Files(,Procfile,requirements.txt)

  • Place the code below in their respective files
Code for
mkdir -p ~/.streamlit/

echo "
email = "[email protected]"\n
" > ~/.streamlit/credentials.toml

echo "
headless = true\n
port = $PORT\n
" > ~/.streamlit/config.toml

Code for (Alternate with no credentials.toml)
mkdir -p ~/.streamlit/

echo "
headless = true\n
port = $PORT\n
enableCORS = false\n
" > ~/.streamlit/config.toml

Code For Procfile
web: sh && streamlit run

7. Create App with CLI

heroku create name-of-your-app

8. Commit and Push Your Code to Github

git add your app 
git commit -m "your comment description"
git push

9. Push To Heroku to Deploy

git push heroku master



Streamlit team

Thanks For Your Time


We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.