How To Setup Django Project on DigitalOcean

Hello Guys, please I need help with my Django app deployment on the digital ocean.

I think my config file for both the gunicorn and nginx isn’t correct can someone help me with the config file that works for them?

If you have actually deployed a Django app on the digital ocean that works kindly hit me up I won’t mind having a Google Meet call with you to help me fix mine.

Thanks. I really appreciate all the support I can get.


Submit an 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 @joemayami,

Have you been editing the config file on your own? Anyway, DigitalOcean has a pretty good set of tutorials about Django with Gunicorn and Nginx as a reverse proxy, I’ll recommend following them and starting from there to build your Django Project:

The tutorials will explain how to install and configure Django, Postgres, Nginx and Gunicorn alongside any other prerequisites you might have or need.