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
1 changed files with 7 additions and 0 deletions

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