envelope/Makefile

24 lines
693 B
Makefile
Raw Normal View History

2022-10-12 06:22:22 +00:00
run:
docker-compose --env-file=stack.env up -d
2022-10-12 06:22:22 +00:00
build:
docker-compose --env-file=stack.env build
2022-10-12 06:22:22 +00:00
stop:
docker-compose --env-file=stack.env down
2022-10-12 06:22:22 +00:00
log:
docker-compose --env-file=stack.env logs -f
2022-11-03 07:20:30 +00:00
migrate:
docker-compose --env-file=stack.env run --rm app sh -c ". /venv/bin/activate && python manage.py migrate"
2022-11-03 07:20:30 +00:00
makemigrations:
docker-compose --env-file=stack.env run --rm app sh -c ". /venv/bin/activate && python manage.py makemigrations"
2022-11-03 07:20:30 +00:00
auth:
docker-compose --env-file=stack.env run --rm app sh -c ". /venv/bin/activate && python manage.py createsuperuser"
2022-11-03 07:20:30 +00:00
token:
docker-compose --env-file=stack.env run --rm app sh -c ". /venv/bin/activate && python manage.py addstatictoken m"