@ -78,6 +78,15 @@ if [ "$1" == "ui" ]; then
python2 $NAME/oml/ui.py $@
exit $?
fi
if [ "$1" == "update" ]; then
cd $BASE/platform
git pull
cd $BASE/$NAME
$0 db upgrade
$0 setup
exit
python2 oml $@