This commit is contained in:
Martin Donnelly 2016-09-26 14:28:50 +01:00
parent e8aaf5212a
commit 0ace585ab7

View File

@ -141,7 +141,7 @@ fi
# Install global packages.
npm set progress=false
if [[ $UPDATE = "YES" ]]; then
if [[ $INSTALL = "YES" ]]; then
fancy_echo "${YELLOW}Installing Node Global Packages...${RESET}"
npm install -g gulp bower pm2@latest npm-check npm-install-missing ember-cli phantomjs-prebuilt
pm2 update
@ -170,6 +170,7 @@ cd $DEV
# git pull origin master
#fi
if [[ $DATABASE = "YES" ]]; then
if [ ! -d "$DEV/$SERVER/.git" ]; then
git clone $GIT_SERVER
@ -194,6 +195,8 @@ gulp default
rsync -uav --exclude .git --exclude app $DEV/$SERVER/ $STAGING
fi
# fancy_echo "${YELLOW}Copying files to LIVE...${RESET}"
# rsync -uav --exclude .git $STAGING/ $LIVE