You'll never travel alone.
Even if you'd want to.
Deployment:
- copy
.env-example
to.env
and change settings needed for deployment - copy
.db-env-example
to.db-env
and change settings needed - copy
app/.env-example
toapp/.env
and change settings needed for the app docker compose build
docker compose run --rm app python3 manage.py migrate
to initialize the dbdocker compose run --rm app python3 manage.py createsuperuser
to create the superuserdocker compose run --rm app python3 manage.py collectstatic --no-input
to get static files in the correct placesdocker compose up -d
to deploy to localhost:8000