mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-23 00:26:33 +00:00
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 {
|
||||
execweb python manage.py migrate
|
||||
execweb python manage.py initdb "$@"
|
||||
runweb python manage.py migrate
|
||||
runweb python manage.py initdb "$@"
|
||||
}
|
||||
|
||||
function makeitblack {
|
||||
docker-compose run --rm web black celerywyrm bookwyrm
|
||||
runweb black celerywyrm bookwyrm
|
||||
}
|
||||
|
||||
function awscommand {
|
||||
|
|
Loading…
Reference in a new issue