Deploy Django Project via Github and Automate Deployment Nginx VPS

Channel:
Subscribers:
543,000
Published on ● Video Link: https://www.youtube.com/watch?v=jE7c3dDdReQ



Duration: 1:35:41
1,152 views
76


Deploy Django Project via Github and Automate Deployment Nginx VPS
00:00:00 Project Introduction
00:02:30 Django Deployment Instruction
00:03:14 What is Gunicorn
00:04:48 Install and Setup Django-extension
00:07:22 Create requirements text file
00:08:14 Verifying Required Softwares
00:10:00 Install PIP and GIT
00:10:37 Install virtualenv
00:11:20 Verify Nginx and Ports
00:12:15 Point Domain to VPS
00:16:40 Copy Django Project from Local Machine to Remote Server
00:17:30 Copy Using Command Prompt
00:22:00 Add gitignore file
00:23:44 Push Project from Local to Github as Private Repo
00:25:26 Make connection between Remote Server and Github Repo via SSH Key
00:28:35 Clone Github Repo
00:30:07 Create Virtualenv inside Project Folder
00:30:28 Activate/Deactivate Virtualenv
00:30:54 Install Dependencies
00:31:27 Install Gunicorn
00:32:30 Create System Socket file for Gunicorn
00:36:02 Create System Service file for Gunicorn
00:39:17 Start Gunicorn Socket and Service
00:39:44 Enable Gunicorn Socket and Service
00:40:00 Check Status Gunicorn Socket and Service
00:40:30 Restart Gunicorn
00:41:19 Create Virtual Host File
00:45:47 Enable Virtual Host
00:47:26 Test Configuration
00:47:35 Restart Nginx server
00:47:54 Fix Invalid HTTP_HOST Header ALLOWED_HOST Error
00:49:43 Serve Static Files
00:55:12 Define STATIC_ROOT and MEDIA_ROOT
00:57:48 Clear Cache
00:58:18 Collectstatic
00:58:47 Migrate Database
00:59:06 Create Superuser
01:00:34 Check Website
01:02:19 Why we should use Github to Deploy Project
01:03:43 Git Pull
01:04:22 Kill Gunicorn then Restart
01:11:24 Why use Automation
01:13:20 Creating deploy bash script
01:15:47 Set File Permission for bash Script
01:16:30 Creating Github Workflows
01:20:00 Add Github Secret Variables
01:24:50 Git Pull Scripts on Server
01:28:07 Checking Deployment Automation
01:30:00 Track Action
01:32:23 SSL Certificate

Domain and VPS Hosting:
https://www.youtube.com/playlist?list=PLbGui_ZYuhij0mM8xP2udM_EDvl8JNdtn

Domain and Shared Web Hosting hPanel: https://www.youtube.com/playlist?list=PLbGui_ZYuhigqwKz6LvBmYNV0tVW-CzIP

Core JavaScript: https://www.youtube.com/playlist?list=PLbGui_ZYuhiiaQjuOfvgx_-gzVBlCxrk0

Advance JavaScript: https://www.youtube.com/playlist?list=PLbGui_ZYuhihZ-pDxNZuQ7xOQ8IS2z3XI

NPM: https://www.youtube.com/watch?v=xD3V3Uf9HPI

React JS: https://www.youtube.com/playlist?list=PLbGui_ZYuhignjLLXTJWkRJKN-SgAqClL

Node Mongo and Express JS: https://www.youtube.com/playlist?list=PLbGui_ZYuhijy1SpwtIS9IwL6OJdbr4kE

Postman Playlist: https://www.youtube.com/playlist?list=PLbGui_ZYuhigvkxzHXRveCnYjZcacTAwq

Check Out Our Other Playlists:
https://www.youtube.com/user/GeekyShow1/playlists


Learn more about subject:
http://www.geekyshows.com/

________________________________________________

DISCLAIMER: The links provided in the description may be affiliate links. If you buy anything from these links, then I may get some commission. But bear in mind, you won't be charged even an extra penny. I would be glad if you use these links!
________________________________________________

T A L K W I T H M E !
Business Email: contact@geekyshows.com
Website: http://www.geekyshows.com/
_______________________________________________

Make sure you LIKE, SUBSCRIBE, COMMENT, and REQUEST A VIDEO! :)
_______________________________________________







Tags:
buy domain
Domain
Hosting
Web Hosting
VPS Hosting
Setup VPS Hosting
Setup SSH Key
Point Domain to VPS
Create Virtual Host File
Enable Virtual Host File
Debug on Server
Install Virtualenv
Create Virtualenv
Activate/Deactivate Virtualenv
Define STATIC_ROOT and MEDIA_ROOT
Serve Static Files
Django Nginx
Deploy Django Nginx
Deploy Django Github
Django Deployment Automation
Django SSL Certificate
SSL Certificate Lifetime free
django gunicorn nginx