move config to config.example.json

This commit is contained in:
Martin Michelsen
2022-03-28 19:51:49 -07:00
parent 4001968c84
commit 5c6a420a61
2 changed files with 19 additions and 25 deletions
+2 -2
View File
@@ -39,8 +39,8 @@ So, you've read all of the above and you want to try it out? Here's what you do:
- Make sure you have CMake and libevent installed.
- Build and install phosg (https://github.com/fuzziqersoftware/phosg).
- Run `cmake . && make`.
- Edit system/config.json to your liking.
- Run `./newserv` in the newserv directory. This will start the game server and run the interactive shell. (You can disable the interactive shell later by editing config.json.) You may need `sudo` if newserv's built-in DNS server is enabled.
- Rename system/config.example.json to system/config.json, and edit it appropriately.
- Run `./newserv` in the newserv directory. This will start the game server and run the interactive shell. You may need `sudo` if newserv's built-in DNS server is enabled.
- Use the interactive shell to add a license. Run `help` in the shell to see how to do this.
### Connecting local clients