fisk/Makefile

27 lines
815 B
Makefile
Raw Normal View History

2022-10-13 14:26:43 +00:00
run:
docker-compose --env-file=stack.env up -d
2022-10-13 14:26:43 +00:00
build:
docker-compose --env-file=stack.env build
2022-10-13 14:26:43 +00:00
stop:
docker-compose --env-file=stack.env down
2022-10-13 14:26:43 +00:00
log:
docker-compose --env-file=stack.env logs -f
2022-11-25 19:28:21 +00:00
test:
docker-compose --env-file=stack.env run --rm app sh -c ". /venv/bin/activate && python manage.py test $(MODULES)"
2022-11-25 19:28:21 +00:00
migrate:
docker-compose --env-file=stack.env run --rm app sh -c ". /venv/bin/activate && python manage.py migrate"
makemigrations:
docker-compose --env-file=stack.env run --rm app sh -c ". /venv/bin/activate && python manage.py makemigrations"
2022-10-16 12:36:17 +00:00
auth:
docker-compose --env-file=stack.env run --rm app sh -c ". /venv/bin/activate && python manage.py createsuperuser"
2022-10-17 06:20:30 +00:00
token:
docker-compose --env-file=stack.env run --rm app sh -c ". /venv/bin/activate && python manage.py addstatictoken m"