fisk/Makefile-dev

27 lines
856 B
Plaintext
Raw Normal View History

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