Module 12 of 12

Deployment & Production

Lessons

About This Module

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.

Lessons

3 videos
01

Deploying Django with Gunicorn & Nginx: Step-by-Step Tutorial

An in-depth walkthrough of deploying a Django application with Gunicorn and Nginx.

02

Deploy Django Web App With SSL to VPS with Nginx & Gunicorn

A step-by-step guide to deploying a Django application on an Ubuntu VPS using Nginx and Gunicorn, with SSL.

03

Dockerize a Django Application (Docker Mastery with Django)

Introduces Docker for beginners by containerizing a Django application.