Launchpad is my personal containerized Django starter project template. It's meant to be relatively barebones, but includes some useful default configuration to provide a head start on any new Django project.
First, create a .env file:
$ cp .env.example .env
Edit the USER andUID variables in the .env file. See comments in .env.example for these variables for information on how to set them.
To start the development server:
$ docker compose up -d --build
The application is served at localhost:8000.
To start the tailwind css watcher (optional; necessary if you are working on css):
$ docker compose exec django npm run watch:css
A superuser was created for you when the django service was created. You can log in at / or /admin/ with email: [email protected] password: secret.