From 3fde2be222f418f15b53e4ca7168b304ee7ddd24 Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 3 Oct 2016 21:06:31 +0200 Subject: [PATCH 1/2] Solved #21 --- README.md | 39 ++++++++++++++++++++++++++++++--------- 1 file changed, 30 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 12a7b812..1470dc85 100644 --- a/README.md +++ b/README.md @@ -4,20 +4,41 @@ #Windows setup -git clone +Clusterio is built up of multiple parts. Here is a quick guide: -npm install +Master = master.js -edit config.json +Slave = client.js + factorio server -node master.js on the master +Client = The people connecting to the server -start the server on the client, using the right rcon configs +Master and all all Slaves have to be running nodejs. Get it from nodejs.org. -node client.js +All Slaves AND Clients need to be running the clusterio mod located in this repository. Install it by dropping it into the mods folder. -connect to server +There are no requirements for other mods, they can be ran in any configuration allowed by the base game. -??? +**Master -profit! \ No newline at end of file +To start master, clone the repo and do + + node master.js + +The clusterio monitoring interface can be found on [master]:8080 + +**Slave + +To install a Slave, you need to set up config.json. + +clientIP should be localhost + +clientPort and password should be the port and password you have configured for RCON connections when launching factorio.exe. The defaults are correct if you are using a modified version of the included launchEverything.bat. + +factorioDirectory is the location of your factorio server folder, ex factorio_0.13.37. You HAVE to use the zip version downloaded from the website to use clusterio. Headless should also work. + +masterIP and port should be selfexplanatory. To test if these settings works, open a browser on the slave system and enter masterIP:masterPort. + +Once finished, do + + [factorioDirectory]/bin/x64/factorio.exe [flags] + node client.js From dfa8b573df9e1e4d3ca6467846a24fac9f26a92e Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 3 Oct 2016 21:07:58 +0200 Subject: [PATCH 2/2] Closes #21 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1470dc85..31ed24ed 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ All Slaves AND Clients need to be running the clusterio mod located in this repo There are no requirements for other mods, they can be ran in any configuration allowed by the base game. -**Master +**Master** To start master, clone the repo and do @@ -26,7 +26,7 @@ To start master, clone the repo and do The clusterio monitoring interface can be found on [master]:8080 -**Slave +**Slave** To install a Slave, you need to set up config.json.