From cabbd2bdf861400798a8691ef97a49cf1addc71a Mon Sep 17 00:00:00 2001 From: Hugo Manrique Date: Thu, 23 Apr 2020 14:28:19 +0200 Subject: [PATCH 1/2] Minetrack requires Node 12.4.0+ --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index b58efc8..4cb1c85 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,9 @@ "url": "https://github.com/Cryptkeeper/Minetrack/issues" }, "homepage": "https://github.com/Cryptkeeper/Minetrack#README", + "engines": { + "node": ">=12.4.0" + }, "devDependencies": { "@babel/core": "^7.9.0", "@babel/plugin-proposal-class-properties": "^7.8.3", From 78e98c6efff36d1516944bb238224f76fffee5ca Mon Sep 17 00:00:00 2001 From: Hugo Manrique Date: Thu, 23 Apr 2020 14:30:14 +0200 Subject: [PATCH 2/2] Document Node version requirement in README --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index e370185..e32a57e 100644 --- a/README.md +++ b/README.md @@ -21,11 +21,12 @@ You can see an up-to-date copy of the production branch running on https://minet "master" branch contains everything you need to start your own copy. "prod" and "prod-bedrock" branches are what is used in the production environment of the minetrack.me sites. #### Usage -1. Make sure everything is correct in ```config.json```. -2. Add/remove servers by editing the ```servers.json``` file -3. Run ```npm install``` -4. Run ```npm run build``` (this bundles `assets/` into `dist/`) -4. Run ```node app.js``` to boot the system (may need sudo!) +1. Install Node 12.4.0+ (check your version with `node -v`) +2. Make sure everything is correct in ```config.json```. +3. Add/remove servers by editing the ```servers.json``` file +4. Run ```npm install``` +5. Run ```npm run build``` (this bundles `assets/` into `dist/`) +6. Run ```node app.js``` to boot the system (may need sudo!) (There's also ```install.sh``` and ```start.sh```, but they may not work for your OS.)