Deploy Django, Celery and Redis on a Linux VPS (Production Setup Guide)
In this video, I show you how to deploy Django, Celery, and Redis on a Linux VPS in a real production environment. We configure: • A Linux droplet (VPS) • Secure SSH access • Django with Gunicorn • Nginx as a reverse proxy • Redis as the message broker • Celery workers • Celery Beat (scheduled tasks) • HTTPS with SSL • CI/CD for automatic deployment 👉 HTTPS and CI/CD are covered in my previous VPS deployment video (linked below). https://youtu.be/dr8QQxS-fek ⏱️ Timestamps 00:00:00 - Introduction 00:01:05 - Creating a droplet (Linux VPS) 00:03:21 - Generating an SSH key 00:08:49 - Completing the creation of the droplet 00:09:21 - SSH into the Linux Server (Droplet) 00:11:32 - Initial server setup 00:17:34 - Setting up Django on the VPS 00:28:54 - Gunicorn setup 00:39:00 - Nginx setup 00:42:12 - Testing the live app 00:42:49 - Redis setup 00:45:11 - Celery setup 00:49:44 - Celery Beat setup (Optional) 00:50:54 - Start and enable Celery 00:51:31 - Testing Celery in production 00:55:28 - Adding HTTPS and CI/CD 00:56:38 - Getting the source code and deployment guide 00:57:10 - The End