Updating mdot installer

This commit is contained in:
Martin Donnelly 2016-09-26 10:52:59 +01:00
parent 0222323a4c
commit bd7c5db955

View File

@ -1,8 +1,7 @@
#!/bin/bash
GIT_SERVER="http://gitlab.silvrtree.co.uk/martind2000/mdot_mqtt.git"
GIT_FRONTEND="http://gitlab.silvrtree.co.uk/martind2000/mdot_server.git"
GIT_SERVER="https://censis.visualstudio.com/DefaultCollection/SmartOffice/_git/mDotServer"
NVM="$HOME/.nvm"
NVM_VERSION="6.3.0"
NVM_VERSION="6.x"
DEV="$HOME/dev"
LIVE="$HOME/live"
STAGING="$HOME/staging"
@ -117,7 +116,7 @@ fancy_echo "${YELLOW}Installing Node...${RESET}"
# Will enter here if $DIRECTORY exists, even if it contains spaces
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh | bash
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.32.0/install.sh | bash
export NVM_DIR=$NVM
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm