Compare commits

..

No commits in common. "9d4489f36afd2a785f4fa575f7fdbe5290c7917b" and "718e41b71a7331c3af02987c65d8f5ddacf454cc" have entirely different histories.

1 changed files with 1 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
sudo adduser --home /opt/digd.js --gecos '' --disabled-password digd sudo adduser --home /opt/digd.js --gecos '' --nopasswd --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 /var/log/digd.js
sudo mkdir -p /opt/digd.js /srv/digd.js sudo mkdir -p /opt/digd.js /srv/digd.js
chown $(whoami):$(whoami) /opt/digd.js /srv/digd.js chown $(whoami):$(whoami) /opt/digd.js /srv/digd.js
@ -10,7 +10,6 @@ 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://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
/opt/digd.js/bin/npm install -g npm@4 /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