Merge pull request #1804 from cincodenada/run-not-exec

Use run --rm instead of exec for initdb
This commit is contained in:
Mouse Reeve 2022-02-02 09:10:28 -08:00 committed by GitHub
commit f84241b085
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

6
bw-dev
View file

@ -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 {