From 326b7edc632d2820c76aa864c4cab802f35822e2 Mon Sep 17 00:00:00 2001 From: Juan Cazala Date: Sat, 9 Dec 2017 23:11:29 -0300 Subject: [PATCH] fix install.sh --- install.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/install.sh b/install.sh index c5fbaff..bf5e8a0 100755 --- a/install.sh +++ b/install.sh @@ -1,8 +1,10 @@ -# curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.7/install.sh | bash -# source ~/.nvm/nvm.sh -# nvm install 8 -# npm install -g pm2 coin-hive-stratum -# pm2 install pm2-logrotate +curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.7/install.sh | bash +source ~/.nvm/nvm.sh +nvm install 8 +npm install -g pm2 +pm2 install pm2-logrotate +npm init --yes +npm install --save coin-hive-stratum cat >./proxy.js <