Updated Makefile

This commit is contained in:
Oleg Lavrovsky 2020-05-18 14:40:26 +02:00
parent 3fe4a8ecae
commit 65aae0e87b

View file

@ -18,14 +18,12 @@ run-here:
docker-compose up
run:
docker-compose up -d --restart=always # detach by default
restart:
docker-compose stop web
docker-compose up -d web
docker-compose up -d # detach by default
stop:
docker-compose stop
docker-compose stop web
restart: stop run
migrate:
docker-compose exec web ./manage.py migrate