A minimal Django Starter Template for quick SaaS.
- Main containers: Python/Django (service_app) and PostgreSQL (service_db)
- Environment variables are handled with
.envfile (via django-environ) - Linting / Imports auto-sorting/ Auto-formatting: Ruff
- Package management: Poetry
- No front-end configuration
- Open Docker Desktop and ddd
/workspacesdirectory in settings > Resources > File sharing. - Install Dev Containers extension in VS Code
- Run
Clone Repositorycommand and clone this repository.
- Reload the container once (running the
reload windowVS Code command ) to ensure there is no error with extension activation due to a Dev Container bug. - Create a
.envfile based on.env.examplefile in theconfigfolder. - Run
./manage.py migrate - Run
./manage.py runserverand go to "http://localhost:8000/" to ensure everything works.