The REST server that powers the API for mcstatus.io. This repository is open source to allow developers to run their own Minecraft server status API server.
- Clone the repository to a folder
git clone https://github.com/mcstatus-io/api-server.git
- Move the working directory into the folder
cd api-server
- Install all required dependencies
go get ...
- Build the executable
- Using GNU make
make
- Without GNU make
go build -o .\bin\main.exe .\src\*.go
(Windows)go build -o bin/main src/*.go
(Unix)
- Using GNU make
- Copy the
config.example.yml
file toconfig.yml
and edit the details - Start the API server
.\bin\main.exe
(Windows)bin/main
(Unix)