Deploying a Django Application to Google App Engine
Google’s docs were helpful, up until I tried to deploy something real…
Today, I successfully deployed a Django application that was working locally to a Google App Engine instance online.
Google’s docs and tutorials (https://cloud.google.com/python/django/appengine) for this process worked well, but they didn’t do a good job of showing you what was going on under the hood with the sample application they had you deploy. When it came time to deploy an independent application, I hit a couple hurdles that I’ll walk through in this post.
As with most of my blog posts, if you find this guide useful, awesome! But I’m mostly writing it as a reference for my future self, because I know I’ll forget some of this stuff when I build another Django app and want to deploy it.
Prerequisites
You’ll need the following to follow along with this guide:
- A Google Cloud Platform account
- A new project in your Google Cloud dashboard
- Billing enabled for GCP account
- Google Cloud SDK installed
- APIs enabled for the project