Merge branch 'main' into run-not-exec
This commit is contained in:
commit
ec63ca3817
191 changed files with 10483 additions and 5099 deletions
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 "$@"
|
||||
;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue