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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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!