Django in Production - From Zero to Hero - Part 5 [Gunicorn + Nginx + Django Deployment]

preview_player
Показать описание
#deployment #production #gunicorn #django #nginx #ubuntu
This is the most important lesson from Django in Production from Zero to Hero course. In this screencast you will learn how to configure the heart of production environment nginx + gunicorn duo.
Because it is important to understand the mechanics - I postponed the Ansible automation for the next lesson.

Besides, this lesson marks an important milestone for me. After almost 3 months of continuous training I am partially satisfied with my own diction. In other words this is first lesson with which I am pretty much content with how it sounds and how it is organized.

Enjoy Learning!
Рекомендации по теме
Комментарии
Автор

Thanks for offering your courses for free during COVID-19!

charliex
Автор

first time i tried your solution it didn't work for me for some kind of a reason.
since then I've tried many and it seems your solution is the one that works perfectly for me at the moment.
Thanks for the video, you made my day !

aminalakhras
Автор

Excellent Tutorial!

This is a one-of-kind step-by-step kind of guide to setup a complete stack of Nginx, Gunicorn, System-Services, and Django for beginners

I think I would prefer to replace the System-Service part with "Supervisor" Process Manager since the latest takes care of daemonizing the Gunicore process and Monitors the daemonized service with logging capabilities (helps in debugging later!)

After all, thank you very much for the excellent content and excellent explanation

MohammedAbuObaid
Автор

Hey man. Your lessons are brilliant, please continue sharing. Would love to hear you talk about using scrapy with django, or maybe react and django.

webscraperscrapeton
Автор

Thank you, my brother! Love from India!

rudhisundar
Автор

Papermerge DMS - is my source of inspiration so to say - this is where I gained all knowledge I share on this channel.

djangolessons
Автор

I don't understand the difference between the .env in the VENV and .env for gunicorn? It looked like you had the same variables? Why would I need them in the shell?
The one in the shell is for testing while the gunicorn one is that one actually used when run?

IMADETHISACCFORRAY
Автор

What about migration during CI/CD? I mean, In which way I can perform that migration command? And yehh, the video is nice.

shivangpatel
Автор

А могли бы вы залить тоже самое на русском?)

rusjazz
Автор

my gunicorn.service fails. What are the permissions for the user "john"?

azeyn
Автор

When trying to make migrations I get AttributeError: 'Settings' object has no attribute 'PAYPAL_CLIENT_ID'
Is it because you change the code afterwards?

jeremyburton