Ubuntu install instructions added

This commit is contained in:
Daniel authored and GitHub committed 2016-12-22 16:09:20 +01:00
1 parent aac101bad7
commit af92716c77
1 file changed
+23 -1
+23 -1
View File
@@ -48,7 +48,7 @@ There are no requirements for other mods, they can be ran in any configuration a
You can change the name and path expected in config.json if wanted.
3. node client.js [instancename]
3. node client.js start [instancename]
Repeat step 3 for more servers on one machine. You should be able to find its port by looking at the console output or at the slave section on master:8080
@@ -59,3 +59,25 @@ Repeat step 3 for more servers on one machine. You should be able to find its po
2. Drop it into ./factorio/mods
3. Run factorio and connect to slave as a normal MP game.
#Ubuntu setup
Master and all slaves:
sudo curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash - && sudo apt install -y git nodejs && git clone https://github.com/Danielv123/factorioClusterio.git && cd factorioClusterio && npm install
downloads and installs nodejs, git and clusterio.
**Master**
node master.js
**Slave**
Download factorio with curl. Make sure to insert the correct version number.
Start the slave with node client.js
curl -o factorio.tar.gz -L https://www.factorio.com/get-download/0.14.21/headless/linux64 && tar -xvzf factorio.tar.gz
node client.js start [instancename]