Merge branch 'main' into run-not-exec

This commit is contained in:
Mouse Reeve
2022-01-22 15:51:42 -08:00
committed by GitHub
191 changed files with 10483 additions and 5099 deletions

11
bw-dev
View File

@ -31,7 +31,7 @@ function execweb {
function initdb {
runweb python manage.py migrate
runweb python manage.py initdb
runweb python manage.py initdb "$@"
}
function makeitblack {
@ -65,7 +65,7 @@ case "$CMD" in
docker-compose run --rm --service-ports web
;;
initdb)
initdb
initdb "$@"
;;
resetdb)
clean
@ -136,6 +136,13 @@ case "$CMD" in
prettier)
npx prettier --write bookwyrm/static/js/*.js
;;
update)
git pull
docker-compose build
runweb python manage.py migrate
runweb python manage.py collectstatic --no-input
docker-compose up -d
;;
populate_streams)
runweb python manage.py populate_streams "$@"
;;