How to deploy streamlit on droplet?

Dear All,

Could you please help?

Does DigitalOcean support streamlit framework?

I am Junior in Python and I honestly searched a lot for the answer, but can’t find it anywhere.

On localhost streamlit is delpoyed by command streamlit run

  • for the sake of example

Thank you.

Regards, Nadya

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Site Moderator
Site Moderator badge
August 17, 2022

Hi @nunumomo,

You can deploy anything you wish on a DigitalOcean’s Droplet as it’s self-managed. What you’ll need to do is download/install streamlit and configure it on your Droplet.

As I can see you can follow this tutorial on how to do so

Now, if you want to have it running all the time, you can check the PM2 package. It’s a tool that helps you start, restart and keep your instance running even if you are not in the Droplet to manually run it.

Hope that helps!

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up