Compare commits
2 Commits
718e41b71a
...
9d4489f36a
Author | SHA1 | Date |
---|---|---|
AJ ONeal | 9d4489f36a | |
AJ ONeal | b1b43a6257 |
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
sudo adduser --home /opt/digd.js --gecos '' --nopasswd --disabled-password digd
|
||||
sudo adduser --home /opt/digd.js --gecos '' --disabled-password digd
|
||||
sudo mkdir -p /opt/digd.js/ /srv/digd.js /var/log/digd.js
|
||||
sudo mkdir -p /opt/digd.js /srv/digd.js
|
||||
chown $(whoami):$(whoami) /opt/digd.js /srv/digd.js
|
||||
|
@ -10,6 +10,7 @@ export NODE_PATH=/opt/digd.js/lib/node_modules
|
|||
export NPM_CONFIG_PREFIX=/opt/digd.js
|
||||
curl -fsSL https://bit.ly/install-min-node -o ./install-node.sh.tmp
|
||||
bash ./install-node.sh.tmp
|
||||
rm ./install-node.sh.tmp
|
||||
/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
|
||||
|
|
Loading…
Reference in New Issue