You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2. Download the Factorio Standalone server and install to a known directory.
32
-
3. Run the server binary file, use the --dir flag to point the management server to your Factorio installation.
32
+
3. Run the server binary file, use the --dir flag to point the management server to your Factorio installation. If you are using the steam installation, point FSM to the steam directory.
4. Visit [localhost:8080](localhost:8080) in your web browser.
35
36
36
37
## Installation Windows
@@ -42,7 +43,7 @@ This tool runs on a Factorio server and allows management of the Factorio server
42
43
4. Visit [localhost:8080](localhost:8080) in your web browser.
43
44
44
45
## Usage
45
-
Run the UI server and specify the directory of your Factorio server installation and the interface to run the HTTP server on. Edit the conf.json file with your desired credentials for authentication.
46
+
Run the UI server and specify the directory of your Factorio server installation and the interface to run the HTTP server on. Edit the conf.json file with your desired credentials for authentication.
46
47
```
47
48
Usage of ./factorio-server-manager:
48
49
-bin string
@@ -59,11 +60,21 @@ Usage of ./factorio-server-manager:
59
60
Maximum filesize for uploaded files (default 20MB). (default 20971520)
60
61
-port string
61
62
Specify a port for the server. (default "8080")
62
-
63
+
-glibc-custom string
64
+
Specify if custom glibc is used (default false) [true/false]
65
+
-glibc-loc string
66
+
Path to the glibc ld.so file (default "/opt/glibc-2.18/lib/ld-2.18.so")
67
+
-glibc-lib-loc
68
+
Path to the glibc lib folder (default "/opt/glibc-2.18/lib")
@@ -88,8 +99,8 @@ It also acts as the webserver to serve the front end react application
88
99
All api actions are accessible with the /api route. The frontend is accessible from /.
89
100
90
101
#### Requirements
91
-
+ Go 1.7
92
-
+ NodeJS 4.2.6
102
+
+ Go 1.11
103
+
+ NodeJS
93
104
94
105
#### Building Releases
95
106
Creates a release zip for windows and linux: (this will install the dependencies listed in gopkgdeps)
@@ -120,7 +131,7 @@ make app/bundle
120
131
```
121
132
122
133
##### For development
123
-
The frontend is completly build by npm with laravel-mix. All plugins are buld into the compiled files. No plugins need to be load fro external sources.
134
+
The frontend is completely build by npm with laravel-mix. All plugins are build into the compiled files. No plugins need to be load fro external sources.
124
135
125
136
It has different variants to build the frontend, provided by laravel-mix:
126
137
-`npm run dev` Build the code for development. This will also generate map-files, so the browser, can show, what line and file causes the output.
@@ -133,46 +144,31 @@ In every of those cases, also images and fonts will be copied to the app-folder.
6. You will need to setup GOPATH in environmental settings in windows. You will want to go into Control Panel\System and Security\System From there on the left hand side click "Advanced system settings". A window will open and you need to click Environment Variables.
143
-
7. Under System Variables click New. For Variable name use GOPATH and Variable value C:\Go\
147
+
3. Download and install Go 1.11 or newer. https://golang.org/dl/
148
+
4. Download and install NodeJS 64-bit or 32-bit depending on your operating system, most users need 64-bit nowadays.
Once everything is installed and ready to go you will need to compile the source for windows
146
153
147
154
1. Open the folder where ever you unzipped from step #2 above.
148
155
2. My folder structure is like this "C:\FS\factorio-server-manager\" C:\FS is where my factorio files are located C:\FS\factorio-server-manager\ is where the server manager files are.
149
-
3. You will now need to install some dependencies for Go. You will need to open up a command prompt and one at a time type each of these and hit enter before typing the next one.
150
-
151
-
```
152
-
go get github.com/apexskier/httpauth
153
-
go get github.com/go-ini/ini
154
-
go get github.com/gorilla/mux
155
-
go get github.com/hpcloud/tail
156
-
go get github.com/gorilla/websocket
157
-
go get github.com/majormjr/rcon
158
-
```
159
-
160
-
3. Now you will want to go into the src folder for example "C:\FS\factorio-server-manager\src" once there hold down left shift and right click an empty area of the folder. Then click "Open command windows here"
156
+
3. Now you will want to go into the src folder for example "C:\FS\factorio-server-manager\src" once there hold down shift and right click an empty area of the folder. Then click "Open command windows here"
161
157
4. Type this into the command prompt then hit enter:
162
158
163
159
```
164
160
go build
165
161
```
166
162
167
163
5. Once finished you will now see src.exe or src file inside the folder. You need to move that file to the C:\FS\factorio-server-manager\ or the folder that is before your src folder.
168
-
6. From here you need to build the web front-end by going into your ui folder for me its C:\FS\factorio-server-manager\ui\ and again hold shift and left click in an empty area then select open command prompt here. You then need to type this:
164
+
6. From here you need to build the web front-end. Again hold shift and right click in an empty area then select open command prompt here. You then need to type this:
169
165
170
166
```
171
167
npm install
172
168
npm run build
173
169
```
174
170
175
-
7. Now execute the src file created in step #4 above
171
+
7. Now execute the src file created in step #4 above. You have to specify the directory, where the factorio-server is located, as parameter. More about the parameter under [Usage](#Usage)
176
172
8. You can now Visit [localhost:8080](localhost:8080) in your web browser to start using the Factorio server Manager
0 commit comments