Adjusted readme install string - nodejs 9 and added python-dev and build-essential packages as those can be missing on some cloud images

This commit is contained in:
psihius committed 2018-04-23 10:56:52 +03:00
1 parent 8f2d22cbd8
commit 8cc52663e5
1 file changed
+2 -2
+2 -2
View File
@@ -70,7 +70,7 @@ NodeJS does not support EOL ubuntu releases. Make sure you are on the most recen
Master and all slaves:
sudo curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - && sudo apt install -y git wget curl tar && git clone https://github.com/Danielv123/factorioClusterio.git && cd factorioClusterio && npm install && sudo npm install pm2 -g && curl -o factorio.tar.gz -L https://www.factorio.com/get-download/latest/headless/linux64 && tar -xf factorio.tar.gz
sudo curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash - && sudo apt install -y nodejs python-dev git wget curl tar build-essential && git clone https://github.com/Danielv123/factorioClusterio.git && cd factorioClusterio && npm install && sudo npm install pm2 -g && curl -o factorio.tar.gz -L https://www.factorio.com/get-download/latest/headless/linux64 && tar -xf factorio.tar.gz
downloads and installs nodejs, pm2, git and clusterio. To specify a version, change "latest" in the link to a version number like 0.14.21.
@@ -188,4 +188,4 @@ npm install
3. Download the latest version of the factorioClusterioMod from its github repo
```
node client.js download
```
```