To compile the FriendNet server, you need the following prerequisites:
- The latest Go compiler
- Node.js 24.0 or higher (unless you skip the admin UI)
- Git
- make (If you are on Linux, you probably have it already)
First, clone the repository:
git clone https://github.com/termermc/FriendNet.git
Then, compile the server:
make server
The compiled server will be in the server directory, named something like friendnet-server or
friendnet-server.exe.
If you do not intend to use the admin UI, you can run:
make server-noui
This will build the server only without building the admin UI.
You will also need to compile the RPC client if you want to remotely manage the server:
make rpcclient
The RPC client will be in the rpcclient directory, named friendnet-rpcclient or
friendnet-rpcclient.exe.
Next: Configuration