27 lines
1.1 KiB
Plaintext
27 lines
1.1 KiB
Plaintext
run:
|
|
docker-compose -f docker-compose.dev.yml --env-file=stack.env up -d
|
|
|
|
build:
|
|
docker-compose -f docker-compose.dev.yml --env-file=stack.env build
|
|
|
|
stop:
|
|
docker-compose -f docker-compose.dev.yml --env-file=stack.env down
|
|
|
|
log:
|
|
docker-compose -f docker-compose.dev.yml --env-file=stack.env logs -f
|
|
|
|
test:
|
|
docker-compose -f docker-compose.dev.yml --env-file=stack.env run -e LIVE=$(LIVE) --rm app_dev sh -c ". /venv/bin/activate && python manage.py test $(MODULES) -v 2"
|
|
|
|
migrate:
|
|
docker-compose -f docker-compose.dev.yml --env-file=stack.env run --rm app_dev sh -c ". /venv/bin/activate && python manage.py migrate"
|
|
|
|
makemigrations:
|
|
docker-compose -f docker-compose.dev.yml --env-file=stack.env run --rm app_dev sh -c ". /venv/bin/activate && python manage.py makemigrations"
|
|
|
|
auth:
|
|
docker-compose -f docker-compose.dev.yml --env-file=stack.env run --rm app_dev sh -c ". /venv/bin/activate && python manage.py createsuperuser"
|
|
|
|
token:
|
|
docker-compose -f docker-compose.dev.yml --env-file=stack.env run --rm app_dev sh -c ". /venv/bin/activate && python manage.py addstatictoken m"
|