How to Start a Containerized Django Project
Published in
26 min readJun 9, 2019
Problem
You want to start a Django project that runs inside containers, but are not sure how to take that first step.
Solution
This article will go through starting a new containerized Django application. It consists of these high level steps:
- Set up a Python environment inside a container
- Use the Django library to scaffold a new project
- Bring Up the Vanilla Application
- Create the application’s first resource
At the end of this tutorial, your application will look like this:
If you want to take a deeper dive into the end state of the code that makes this application work (rather than reading about the steps to get there), then you might want to read through this article:
Front Matter
The code that follows this tutorial can be found here: