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