A project that runs on your laptop with runserver is not ready for
real users. The development server is not built for production traffic, debug
mode exposes sensitive information, and static files, databases, and secrets all
need proper handling once your application lives on a server.
In this module you will learn how a production Django stack fits together: Gunicorn as the application server, Nginx as the web server and reverse proxy, and HTTPS certificates so traffic is encrypted. You will see how to deploy to a Linux server, and how Docker and Docker Compose package the same setup so it runs the same way everywhere.
Watch the lessons in order, then put everything together in the Projects section. Some of these videos were recorded on older Django releases, so check the official documentation if a detail differs on your install.
An in-depth walkthrough of deploying a Django application with Gunicorn and Nginx.
A step-by-step guide to deploying a Django application on an Ubuntu VPS using Nginx and Gunicorn, with SSL.
Introduces Docker for beginners by containerizing a Django application.