Add make target to create token
This commit is contained in:
parent
40ee4c03c4
commit
cdc1cb62b1
3
Makefile
3
Makefile
|
@ -18,3 +18,6 @@ makemigrations:
|
||||||
|
|
||||||
auth:
|
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"
|
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"
|
||||||
|
|
Loading…
Reference in New Issue