From a2aab353e3ea810767f0cc79624057a53f5cffdb Mon Sep 17 00:00:00 2001 From: Nick Krecklow Date: Wed, 1 Apr 2020 21:17:57 -0500 Subject: [PATCH] updated install.sh & start.sh scripts --- scripts/install.sh | 8 +++++--- scripts/start.sh | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/scripts/install.sh b/scripts/install.sh index 8e4fb32..41091f2 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -1,3 +1,5 @@ -apt-get install git npm nodejs-legacy sqlite3 -npm install -sh start.sh \ No newline at end of file +apt-get install git npm sqlite3 +git clone https://github.com/Cryptkeeper/Minetrack.git +cd Minetrack/ +npm install --build-from-source +sh scripts/start.sh \ No newline at end of file diff --git a/scripts/start.sh b/scripts/start.sh index 26ba0eb..d2ffccd 100644 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -1,5 +1,5 @@ while true; do - /usr/bin/nodejs app.js + node app.js sleep 5 done \ No newline at end of file