update installer with v1.2
This commit is contained in:
parent
bc93b942ee
commit
d8ead3181d
|
@ -6,7 +6,7 @@ sudo mkdir -p /opt/digd.js /srv/digd.js
|
||||||
#chown -R $(whoami):$(whoami) /opt/digd.js /srv/digd.js
|
#chown -R $(whoami):$(whoami) /opt/digd.js /srv/digd.js
|
||||||
chown -R digd:digd /opt/digd.js /srv/digd.js
|
chown -R digd:digd /opt/digd.js /srv/digd.js
|
||||||
|
|
||||||
echo "v8.9.0" > /tmp/NODEJS_VER
|
echo "v8.9.3" > /tmp/NODEJS_VER
|
||||||
export NODE_PATH=/opt/digd.js/lib/node_modules
|
export NODE_PATH=/opt/digd.js/lib/node_modules
|
||||||
export NPM_CONFIG_PREFIX=/opt/digd.js
|
export NPM_CONFIG_PREFIX=/opt/digd.js
|
||||||
curl -fsSL https://git.coolaj86.com/coolaj86/node-installer.sh/raw/master/install.sh -o ./node-installer.sh.tmp
|
curl -fsSL https://git.coolaj86.com/coolaj86/node-installer.sh/raw/master/install.sh -o ./node-installer.sh.tmp
|
||||||
|
@ -16,7 +16,7 @@ rm ./node-installer.sh.tmp
|
||||||
|
|
||||||
git clone https://git.coolaj86.com/coolaj86/digd.js /opt/digd.js/lib/node_modules/digd.js
|
git clone https://git.coolaj86.com/coolaj86/digd.js /opt/digd.js/lib/node_modules/digd.js
|
||||||
pushd /opt/digd.js/lib/node_modules/digd.js
|
pushd /opt/digd.js/lib/node_modules/digd.js
|
||||||
git checkout v1.1
|
git checkout v1.2
|
||||||
/opt/digd.js/bin/node /opt/digd.js/bin/npm install
|
/opt/digd.js/bin/node /opt/digd.js/bin/npm install
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue