forked from mirrors/bookwyrm
Merge pull request #1804 from cincodenada/run-not-exec
Use run --rm instead of exec for initdb
This commit is contained in:
commit
f84241b085
1 changed files with 3 additions and 3 deletions
6
bw-dev
6
bw-dev
|
@ -30,12 +30,12 @@ function execweb {
|
||||||
}
|
}
|
||||||
|
|
||||||
function initdb {
|
function initdb {
|
||||||
execweb python manage.py migrate
|
runweb python manage.py migrate
|
||||||
execweb python manage.py initdb "$@"
|
runweb python manage.py initdb "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
function makeitblack {
|
function makeitblack {
|
||||||
docker-compose run --rm web black celerywyrm bookwyrm
|
runweb black celerywyrm bookwyrm
|
||||||
}
|
}
|
||||||
|
|
||||||
function awscommand {
|
function awscommand {
|
||||||
|
|
Loading…
Reference in a new issue