Mô tả

I will walk you through all the major components of deploying Django.

Learn about the architecture of a deployment and how the different pieces fit together. You will understand the differences and similarities between different options for:

  • Linux distribution (Debian vs Ubuntu vs CentOS vs Fedora)

  • Web server (Nginx vs Apache2)

  • Database server (SQLite vs MySQL vs MariaDB vs PostgreSQL)

  • WSGI server (uWSGI vs gunicorn vs waitress)

  • SSL certificates (self-signed vs LetsEncrypt)

The first portion of the course will talk about the architecture and the role of each component. I will also discuss alternative architectures and things to consider when planning. I'll talk about the different options and which ones I recommend for various situations. The second portion of the course will be an actual walkthrough, step-by-step, of deploying a Django project to production with security in mind. At the end of the course I'll wrap up with showing you how you can automate updates and backups.

When you're done with the course you'll know all my tips and tricks, have a solid understanding of the architecture to make well informed choices.

You can ask me questions in the Q&A section of the course and learn from others. If you have a unique situation, share your question and I will help you. Remember, you're not just buying a set of videos, you're taking a course and I am a resource for you as your instructor.

Students should already have proficient Linux and Python skills with some familiarity with Django.

Bạn sẽ học được gì

How to deploy Django to a secure production environment

Understand the architecture of a Django deployment

What options are available in the tech stack (Linux, Web server, WSGI, Database, SSL)

How to configure PostgreSQL database

How to configure gunicorn WSGI server

How to configure Nginx web server

How to configure SSL with free LetsEncrypt certificates or self-signed certificates

How to update and backup your deployment

How to setup a protected development site

Yêu cầu

  • Basic Python experience
  • Basic Django experience
  • Basic Linux experience

Nội dung khoá học

5 sections

Architecture Overview

13 lectures
Introduction to Architecture
01:42
The Physical Machine
03:26
The Linux Operating System
03:36
Which Linux Distro Will we use?
1 question
The WSGI Server
07:10
WSGI Quiz
3 questions
The Web Server
03:47
Web server quiz
2 questions
The Database
04:10
Database quiz
2 questions
Complete Architecture Recap
02:14
Architecture quiz
1 question
Alternative Architectures
04:01

Walkthrough

14 lectures
Create a Virtual Machine on Digital Ocean
04:20
Create Python Virtual Environment
03:23
Create a Test Project
03:45
Configure SSH Keys
03:25
Clone Project from GitHub
01:34
Tips for Managing Django Settings Files
02:16
Configure Django to use PostgreSQL
03:16
Install and Setup PosgreSQL Database
07:20
Install and Test Gunicorn WSGI Server
04:48
Setup Systemd Service for Gunicorn
05:22
Install and Test Nginx
06:09
Configure STATIC and MEDIA Directories in Django
07:24
Configure a Virtual Host in Nginx
14:00
Add SSL Encryption to Nginx Virtual Host
13:08

Setup a Protected Dev Site

2 lectures
Overview
02:24
Setup Dev Site
13:30

Backups

2 lectures
Backup Options
06:27
Setup Backup Job
07:14

Updates

3 lectures
Update Options
02:29
Setup Automatic SSL Certificate Renewal
01:45
Write Update Script
02:28

Đánh giá của học viên

Chưa có đánh giá
Course Rating
5
0%
4
0%
3
0%
2
0%
1
0%

Bình luận khách hàng

Viết Bình Luận

Bạn đánh giá khoá học này thế nào?

image

Đăng ký get khoá học Udemy - Unica - Gitiho giá chỉ 50k!

Get khoá học giá rẻ ngay trước khi bị fix.