Adds update command to main for bw-dev

This commit is contained in:
Mouse Reeve 2022-01-13 08:52:22 -08:00
parent 0d12d82c12
commit b76cb0a22f

7
bw-dev
View file

@ -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 "$@"
;;