Merge branch 'main' into run-not-exec
This commit is contained in:
11
bw-dev
11
bw-dev
@ -31,7 +31,7 @@ function execweb {
|
||||
|
||||
function initdb {
|
||||
runweb python manage.py migrate
|
||||
runweb python manage.py initdb
|
||||
runweb python manage.py initdb "$@"
|
||||
}
|
||||
|
||||
function makeitblack {
|
||||
@ -65,7 +65,7 @@ case "$CMD" in
|
||||
docker-compose run --rm --service-ports web
|
||||
;;
|
||||
initdb)
|
||||
initdb
|
||||
initdb "$@"
|
||||
;;
|
||||
resetdb)
|
||||
clean
|
||||
@ -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 "$@"
|
||||
;;
|
||||
|
Reference in New Issue
Block a user