Question

I just want to get some basic Python apps working on the web under my DNS.. Is Django the easiest way?

I installed the one click Django but ran into Gateway 502 errors. I have a handful of Python apps that I edited which use some APIs to financial data that work fine on my local computer. Before I start building more of them, I simply want to get a few basic Python apps to work from any browser under one of the DNS names that I own. I’ve gone through trying to get Django to work a couple times, and now I have the one-click Django instance on DigitalOcean and wondering if anyone has any advice on the easiest way to run my Python programs, with database access, on the web using my DNS. I can get them working on Flask, but I don’t want that unless I can get full function that way. I may just have to go through the learning curve with Django. Any quick and dirty way or shortcuts?


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 there,

I just came across this question.

One of the most effortless ways to deploy Django would be to use the new DigitalOcean App platform. That way you will not have to do any server configuration.

You can follow the steps on how to do that here:

https://www.digitalocean.com/community/tutorials/how-to-deploy-django-to-app-platform

Regards, Bobby