Skip to content

Commit 3cdf79d

Browse files
committed
updated readme for new package management
1 parent 3d984b6 commit 3cdf79d

File tree

1 file changed

+11
-26
lines changed

1 file changed

+11
-26
lines changed

README.md

Lines changed: 11 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ This tool runs on a Factorio server and allows management of the Factorio server
4343
4. Visit [localhost:8080](localhost:8080) in your web browser.
4444

4545
## 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.
4747
```
4848
Usage of ./factorio-server-manager:
4949
-bin string
@@ -99,8 +99,8 @@ It also acts as the webserver to serve the front end react application
9999
All api actions are accessible with the /api route. The frontend is accessible from /.
100100

101101
#### Requirements
102-
+ Go 1.7
103-
+ NodeJS 4.2.6
102+
+ Go 1.11
103+
+ NodeJS
104104

105105
#### Building Releases
106106
Creates a release zip for windows and linux: (this will install the dependencies listed in gopkgdeps)
@@ -131,7 +131,7 @@ make app/bundle
131131
```
132132

133133
##### 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.
135135

136136
It has different variants to build the frontend, provided by laravel-mix:
137137
- `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.
144144
1. Download the latest release source zip file
145145
* [https://github.com/mroote/factorio-server-manager/releases](https://github.com/mroote/factorio-server-manager/releases)
146146
2. Unzip the Factorio Standalone server and move it to a known directory.
147-
3. Download and install Go 1.7 or newer. https://golang.org/dl/
148-
4. Download and install NodeJS 4.2.6 64-bit or 32-bit depending on your operating system, if unsure download 32-bit
149-
* https://nodejs.org/download/release/v4.2.6/node-v4.2.6-x64.msi 64-bit
150-
* https://nodejs.org/download/release/v4.2.6/node-v4.2.6-x86.msi 32-bit
151-
5. Download and install NVM, when asked if you want it to use NodeJS 4.2.6 accept
152-
* https://github.com/coreybutler/nvm-windows/releases/download/1.1.1/nvm-setup.zip
153-
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.
149+
* https://nodejs.org/dist/v12.13.0/node-v12.13.0-x64.msi 64-bit
150+
* https://nodejs.org/dist/v12.13.0/node-v12.13.0-x86.msi 32-bit
155151

156152
Once everything is installed and ready to go you will need to compile the source for windows
157153

158154
1. Open the folder where ever you unzipped from step #2 above.
159155
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"
172157
4. Type this into the command prompt then hit enter:
173158

174159
```
175160
go build
176161
```
177162

178163
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:
180165

181166
```
182167
npm install
183168
npm run build
184169
```
185170

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)
187172
8. You can now Visit [localhost:8080](localhost:8080) in your web browser to start using the Factorio server Manager
188173

189174
## Contributing

0 commit comments

Comments
 (0)