1
0
Fork 0

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
commit ec63ca3817
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 "$@"
;;