1.0 KiB
1.0 KiB
API Server
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.
Requirements
Installation
- 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 build
- 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.ymlfile toconfig.ymland edit the details - Start the API server
.\bin\main.exe(Windows)bin/main(Unix)