Report this

What is the reason for this report?

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

Posted on August 8, 2020

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?



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!

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.

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.