Django production deployment to Google Compute Engine with Gunicorn and Nginx

Опубликовано: 21 Май 2023
на канале: Vladsave Coding
4,021
124

Ad: If you need help with a Django deployment, you can book a consultation with me. Fees and contact info are available on my channel page.

In this video we will present a production deployment of a Django project to Google Compute Engine (GCE). We will use Gunicorn as an app server managed by Supervisor and then Nginx as a reverse proxy on top of Gunicorn. Because of the WSGI protocol, you can swap Django to Flask or other Python web framework and the process will stay more or less the same.

Source code, URLs:
https://github.com/titus58/youtube-tu...

Chapters:
00:00 Introduction
00:49 Explaining the stack
03:32 Writing the Django project
08:07 Run Gunicorn locally
11:13 Monitor Gunicorn with Supervisord
20:15 Create VM in Compute Engine
24:17 Install a free SSL certificate
28:19 Transfer the Django project to compute engine
34:35 Configure the Nginx reverse proxy
42:32 Collect static resources and serve them with Nginx


Смотрите видео Django production deployment to Google Compute Engine with Gunicorn and Nginx онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Vladsave Coding 21 Май 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 4,02 раз и оно понравилось 12 людям.