15 while getopts ":ph:" opt; do
19 echo 'production mode'
36 echo "error checking out master"
43 echo "error pulling master"
49 git checkout `git describe --abbrev=0`
52 echo "error checking out latest tag"
58 git submodule update --init --recursive
61 echo "error updating submodules"
67 # restart the datasource
75 psql -U admin -h $HOST global -f init_global.sql
77 ./installer.js -h $HOST -d global -u admin -p 5432 -P admin --path ../database/orm
81 node runMaintenance.js
84 cd ../enyo-client/extensions
85 ./tools/buildExtensions.sh