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
|
docker-compose up
|
||||||
|
|
||||||
run:
|
run:
|
||||||
docker-compose up -d --restart=always # detach by default
|
docker-compose up -d # detach by default
|
||||||
|
|
||||||
restart:
|
|
||||||
docker-compose stop web
|
|
||||||
docker-compose up -d web
|
|
||||||
|
|
||||||
stop:
|
stop:
|
||||||
docker-compose stop
|
docker-compose stop web
|
||||||
|
|
||||||
|
restart: stop run
|
||||||
|
|
||||||
migrate:
|
migrate:
|
||||||
docker-compose exec web ./manage.py migrate
|
docker-compose exec web ./manage.py migrate
|
||||||
|
|
Loading…
Add table
Reference in a new issue