mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-26 11:31:08 +00:00
Adds update command to main for bw-dev
This commit is contained in:
parent
0d12d82c12
commit
b76cb0a22f
1 changed files with 7 additions and 0 deletions
7
bw-dev
7
bw-dev
|
@ -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 "$@"
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue