Overview
Syllabus
Introduction
Overview of Episode 3
SSH Into the Server + Run sudo apt update & upgrade
Install the Dependencies
Initialize the Firewall
Overview of Automatic Deployment
Continue Initializing the Firewall
Get the Code from GitLab Server + Install Gunicorn
Remove Default Configuration from nginx + Create a New Configuration
Link the sites
Test the Application
Generate a Private-Public Key Pair
Add the Public Key to the Server
Add the Private Key to GitLab
Write the Deployment Script gitlab-ci.yml
Set Up the GitLab Runner
Make a Push to GitLab
Fix Any Issues
Configure the Service for Running the Django App
Test the Deployment Script
Add the IP Address to the Django Database
Update the Webhook Address in Stripe
Disable Debug Mode
Conclusion
Taught by
Linode