Posts

Docker and VSCode logos on an orange background
, , ,

Use Docker to create a new Django project in one line

If you already have Docker on your machine, you can create a new Django project (using any version) using a single command. Create in an app/ directory: docker run -v ${PWD}/app:/app -w /app python:3.9-alpine sh -c "pip install Django==3.2…
, , ,

Debugging a Dockerized Django app with VSCode

I am a huge advocate for integrating Docker into your development process. There are many benefits to this, such as: Consistent developer environmentsParity of development and production environmentsDependency isolation from your…
,

Setting up PostgreSQL database with a Django Docker application

In this video, I’ll show you how to set up a PostgreSQL database with a Django Docker application. This post follows from a previous post which shows you how to Dockerize a Django REST Framework project. Both videos were inspired by my course…
,

Dockerizing a Django REST Framework Project

In this video I'll show you how to create a Docker container for a Django REST Framework project. This video was inspired by my Build a REST API course on Udemy. In the course, I build a REST API using Vagrant, but Vagrant is not the only…