Merge pull request #1823 from bookwyrm-social/update-main

Adds update command to main for bw-dev
This commit is contained in:
Mouse Reeve 2022-01-13 09:07:38 -08:00 committed by GitHub
commit abd7c213ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

7
bw-dev
View file

@ -136,6 +136,13 @@ case "$CMD" in
prettier) prettier)
npx prettier --write bookwyrm/static/js/*.js 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) populate_streams)
runweb python manage.py populate_streams "$@" runweb python manage.py populate_streams "$@"
;; ;;