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