21 lines
569 B
Makefile
21 lines
569 B
Makefile
run:
|
|
docker-compose --env-file=stack.env up -d
|
|
|
|
build:
|
|
docker-compose --env-file=stack.env build
|
|
|
|
stop:
|
|
docker-compose --env-file=stack.env down
|
|
|
|
log:
|
|
docker-compose --env-file=stack.env logs -f
|
|
|
|
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"
|
|
|
|
auth:
|
|
docker-compose --env-file=stack.env run --rm app sh -c ". /venv/bin/activate && python manage.py createsuperuser"
|