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
Copy file name to clipboardExpand all lines: README.md
+11-26Lines changed: 11 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ This tool runs on a Factorio server and allows management of the Factorio server
43
43
4. Visit [localhost:8080](localhost:8080) in your web browser.
44
44
45
45
## Usage
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
+
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.
47
47
```
48
48
Usage of ./factorio-server-manager:
49
49
-bin string
@@ -99,8 +99,8 @@ It also acts as the webserver to serve the front end react application
99
99
All api actions are accessible with the /api route. The frontend is accessible from /.
100
100
101
101
#### Requirements
102
-
+ Go 1.7
103
-
+ NodeJS 4.2.6
102
+
+ Go 1.11
103
+
+ NodeJS
104
104
105
105
#### Building Releases
106
106
Creates a release zip for windows and linux: (this will install the dependencies listed in gopkgdeps)
@@ -131,7 +131,7 @@ make app/bundle
131
131
```
132
132
133
133
##### For development
134
-
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.
135
135
136
136
It has different variants to build the frontend, provided by laravel-mix:
137
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.
@@ -144,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.
154
-
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
157
153
158
154
1. Open the folder where ever you unzipped from step #2 above.
159
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.
160
-
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.
161
-
162
-
```
163
-
go get github.com/apexskier/httpauth
164
-
go get github.com/go-ini/ini
165
-
go get github.com/gorilla/mux
166
-
go get github.com/hpcloud/tail
167
-
go get github.com/gorilla/websocket
168
-
go get github.com/majormjr/rcon
169
-
```
170
-
171
-
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"
172
157
4. Type this into the command prompt then hit enter:
173
158
174
159
```
175
160
go build
176
161
```
177
162
178
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.
179
-
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:
180
165
181
166
```
182
167
npm install
183
168
npm run build
184
169
```
185
170
186
-
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)
187
172
8. You can now Visit [localhost:8080](localhost:8080) in your web browser to start using the Factorio server Manager
0 commit comments