Learn how to deploy a basic Django app to Google App Engine using Docker and Docker Compose.
Find the blog post for this tutorial here: https://londonappdeveloper.com/2021/0...
Resources
Python .gitignore template: https://github.com/github/gitignore/b...
Google Cloud: https://cloud.google.com
Finished project on GitHub: https://github.com/LondonAppDeveloper...
CHECK OUT OUR COURSES
➡️ DevOps Deployment Automation with Terraform, AWS and Docker: https://londonapp.dev/youtube-devops-aws
➡️ Deploy a Serverless Django app on Google App Engine: https://londonapp.dev/youtube-google-...
➡️ Build a Backend REST API with Python & Django - Advanced: https://londonapp.dev/youtube-django-...
➡️ Build a Backend REST API with Python & Django - Beginner: https://londonapp.dev/youtube-django-...
➡️ Python for Absolute Beginners: https://londonapp.dev/youtube-python-...
00:00 - Introduction
00:49 - Create a new directory on our system
01:54 - Add a .gitignore file
02:42 - Add a requirements file for installing Django
03:56 - Creating our Dockerfile
04:32 - Defining the base image
06:19 - Add run command to Dockerfile
14:32 - Test our development server
15:27 - Creating an app inside our project
17:38 - Add our new app to installed apps
18:00 - Configure the static files for our project
18:55 - Collect static command
21:01 - Creating a template page that we can use to deploy
23:21 - Create an HTML template
26:16 - Create a view
27:11 - Connecting to URL to test
28:51 - Setup our project to toggle debug mode
32:36 - Add environments block to file
33:30 - Sign up to Google Cloud platform
37:10 - Configure our project to deploy to App Engine
38:54 - Create a new configuration for the deployment process
43:49 - Define our app engine deployment
47:42 - Add .gcloudignore file
49:15 - Authenticate with Google Cloud in the SDK
52:44 - Deploying to Google App Engine