updated mdot installer

This commit is contained in:
Martin Donnelly 2016-09-26 10:57:23 +01:00
parent bd7c5db955
commit a1b5b28ed3

View File

@ -16,7 +16,7 @@ UPDATE=no
DATABASE=no
NGINX=no
RED=`tput setaf 1`
RßED=`tput setaf 1`
GREEN=`tput setaf 2`
YELLOW=`tput setaf 3`
PURPLE=`tput setaf 5`
@ -146,13 +146,13 @@ cd $DEV
# Get latest version of smartoffice Admin Server
if [ ! -d "$DEV/$FRONT/.git" ]; then
git clone $GIT_FRONTEND
else
cd $DEV/$FRONT
git pull origin master
#if [ ! -d "$DEV/$FRONT/.git" ]; then
# git clone $GIT_FRONTEND
#else
# cd $DEV/$FRONT
# git pull origin master
fi
#fi
if [ ! -d "$DEV/$SERVER/.git" ]; then
git clone $GIT_SERVER
@ -162,10 +162,10 @@ else
fi
cd $DEV/$FRONT
#cd $DEV/$FRONT
npm install . && npm-install-missing
bower install
#npm install . && npm-install-missing
#bower install
cd $DEV/$SERVER