mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-26 19:41:11 +00:00
Use run --rm instead of exec for initdb
This way we don't depend on the containers already being up and running.
This commit is contained in:
parent
6492ca2941
commit
29ebfc456d
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