Changes to start_db.sh and install.sh
This commit is contained in:
parent
603329fbda
commit
890d41b9d0
2 changed files with 6 additions and 2 deletions
|
@ -29,6 +29,10 @@ elif [[ $# == 1 ]] && [[ $1 == "run" ]]; then
|
|||
python manage.py processupdates
|
||||
python manage.py runserver
|
||||
popd
|
||||
elif [[ $# > 0 ]] && [[ $1 == "manage" ]]; then
|
||||
pushd src
|
||||
python manage.py "${@:2}"
|
||||
popd
|
||||
else
|
||||
echo "Usage: $0 [stop|db|run]"
|
||||
echo "Usage: $0 [stop|db|run|manage]"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue