- Run
docker-compose run --rm django ./manage.py migrate
- Run
docker-compose run --rm django ./manage.py createsuperuser
and follow the prompts to create your own user
- Run
docker-compose up
- Access the site, starting at http://localhost:8000/
- Outgoing emails are sent to the console
- The Django admin interface is still available at http://localhost:8000/admin/
- When finished, use
Ctrl+C
- Run
docker-compose run --rm django tox
- Run
docker-compose run --rm tailwind yarn lint --fix
Occasionally, new package dependencies or schema changes will necessitate maintenance. To non-destructively update your development stack at any time:
- Run
docker-compose build --pull --no-cache
- Run
docker-compose run --rm django ./manage.py migrate
In the event that Javascript packages need to be installed, this can be done via Docker Compose:
- Run:
docker-compose run --rm tailwind yarn add -D package-name
, substitutingpackage-name
as appropriate.
This can also be done natively by running Yarn commands in the repository root, but be sure to re-build Docker afterwards (via Application Maintenance above).