Updating mdot installer
This commit is contained in:
parent
0222323a4c
commit
bd7c5db955
@ -1,8 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
GIT_SERVER="http://gitlab.silvrtree.co.uk/martind2000/mdot_mqtt.git"
|
GIT_SERVER="https://censis.visualstudio.com/DefaultCollection/SmartOffice/_git/mDotServer"
|
||||||
GIT_FRONTEND="http://gitlab.silvrtree.co.uk/martind2000/mdot_server.git"
|
|
||||||
NVM="$HOME/.nvm"
|
NVM="$HOME/.nvm"
|
||||||
NVM_VERSION="6.3.0"
|
NVM_VERSION="6.x"
|
||||||
DEV="$HOME/dev"
|
DEV="$HOME/dev"
|
||||||
LIVE="$HOME/live"
|
LIVE="$HOME/live"
|
||||||
STAGING="$HOME/staging"
|
STAGING="$HOME/staging"
|
||||||
@ -117,7 +116,7 @@ fancy_echo "${YELLOW}Installing Node...${RESET}"
|
|||||||
|
|
||||||
# Will enter here if $DIRECTORY exists, even if it contains spaces
|
# 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
|
export NVM_DIR=$NVM
|
||||||
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
|
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user