fix npm paths
This commit is contained in:
parent
a617eb176c
commit
58a48a2877
|
@ -12,12 +12,12 @@ export NPM_CONFIG_PREFIX=/opt/digd.js
|
||||||
curl -fsSL https://bit.ly/install-min-node -o ./install-node.sh.tmp
|
curl -fsSL https://bit.ly/install-min-node -o ./install-node.sh.tmp
|
||||||
bash ./install-node.sh.tmp
|
bash ./install-node.sh.tmp
|
||||||
rm ./install-node.sh.tmp
|
rm ./install-node.sh.tmp
|
||||||
/opt/digd.js/bin/npm install -g npm@4
|
/opt/digd.js/bin/node /opt/digd.js/bin/npm install -g npm@4
|
||||||
|
|
||||||
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.1
|
||||||
/opt/digd.js/bin/npm install
|
/opt/digd.js/bin/node /opt/digd.js/bin/npm install
|
||||||
popd
|
popd
|
||||||
|
|
||||||
sudo rsync -v /opt/digd.js/lib/node_modules/digd.js/dist/etc/systemd/system/digd.js.service /etc/systemd/system/
|
sudo rsync -v /opt/digd.js/lib/node_modules/digd.js/dist/etc/systemd/system/digd.js.service /etc/systemd/system/
|
||||||
|
|
Loading…
Reference in New Issue