Add make target to create token

This commit is contained in:
Mark Veidemanis 2022-10-17 07:20:30 +01:00
parent 40ee4c03c4
commit cdc1cb62b1
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 3 additions and 0 deletions

View File

@ -18,3 +18,6 @@ makemigrations:
auth:
docker-compose -f docker/docker-compose.prod.yml --env-file=stack.env run --rm app sh -c ". /venv/bin/activate && python manage.py createsuperuser"
token:
docker-compose -f docker/docker-compose.prod.yml --env-file=stack.env run --rm app sh -c ". /venv/bin/activate && python manage.py addstatictoken m"