Add dbshell and kill to Makefile
This commit is contained in:
Родитель
016667467d
Коммит
1e9db9b4b1
6
Makefile
6
Makefile
|
@ -25,5 +25,11 @@ migrate: compose_build
|
|||
shell: compose_build
|
||||
docker-compose run app python manage.py shell
|
||||
|
||||
dbshell: compose_build
|
||||
docker-compose run app python manage.py dbshell
|
||||
|
||||
bash: compose_build
|
||||
docker-compose run app bash
|
||||
|
||||
kill:
|
||||
docker ps -a -q | xargs docker kill;docker ps -a -q | xargs docker rm
|
||||
|
|
Загрузка…
Ссылка в новой задаче