[Answered ]-How to setup a VPS with Django, Nginx, Gunicorn, Postgres and then properly deploy a Django application to it?

1👍

I would say Test-Driven Web Development with Python is a good one. It’s mostly focused on TDD, but it’s really good at covering the basics of Django as well. Chapter 8 talks about deployment and is pretty thorough.

EDIT:

Saw that that book doesn’t use S3 for static files, so I’d recommend this blog post for dealing with that.

👤Alex

1👍

This article: How To Install and Configure Django with Postgres, Nginx, and Gunicorn has some great instruction on getting the VPS setup, minus the S3 assets.
For repeatable deployment do some research on fabric.

Leave a comment