Deploying Django to Google App Engine using Docker
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/05/03/deploying-django-to-google-app-engine-using-docker/ Resources * Python .gitignore template: https://github.com/github/gitignore/blob/master/Python.gitignore * Google Cloud: https://cloud.google.com * Finished project on GitHub: https://github.com/LondonAppDeveloper/deploy-django-gae-docker/tree/s/07-deploy-setup 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-app-engine-serverless ➡️ Build a Backend REST API with Python & Django - Advanced: https://londonapp.dev/youtube-django-backend-advanced ➡️ Build a Backend REST API with Python & Django - Beginner: https://londonapp.dev/youtube-django-backend-beginner ➡️ Python for Absolute Beginners: https://londonapp.dev/youtube-python-beginners 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
Download
1 formatsVideo Formats
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.