Updated Makefile
This commit is contained in:
parent
3fe4a8ecae
commit
65aae0e87b
1 changed files with 4 additions and 6 deletions
10
Makefile
10
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue