forked from mirrors/bookwyrm
Merge pull request #1823 from bookwyrm-social/update-main
Adds update command to main for bw-dev
This commit is contained in:
commit
abd7c213ff
1 changed files with 7 additions and 0 deletions
7
bw-dev
7
bw-dev
|
@ -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 "$@"
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue