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!
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.