diff -r e952c8a31a2b -r c622fa18eb32 build/build.sh --- a/build/build.sh Thu Oct 20 12:54:07 2016 +0530 +++ b/build/build.sh Thu Oct 20 12:56:24 2016 +0530 @@ -20,7 +20,7 @@ echoblue "---> preparing bo client" pushd ../server/bo_client - npm install + /usr/local/bin/npm install ./node_modules/.bin/bower install popd echoblue "---> preparing bo client done" @@ -28,14 +28,14 @@ echoblue "---> preparing back" pushd ../server/src php composer.phar install - npm install + /usr/local/bin/npm install ./node_modules/.bin/bower install popd echoblue "---> preparing back done" echoblue "---> preparing app-client" pushd ../cms/app-client - npm install + /usr/local/bin/npm install ./node_modules/.bin/bower install popd echoblue "---> preparing app-client done" @@ -48,8 +48,14 @@ echoblue "---> checking vagrant" if vagrant status | grep -q "running"; then echoblue "---> starting vagrant" + if [ type workon ]; then + workon ansible + fi vagrant up VAGRANT_STARTED=true + if [ type deactivate ]; then + deactivate + fi fi echoblue "---> done"