instructions for building the mapserver locally

This commit is contained in:
NatureFreshMilk 2019-05-08 14:58:48 +02:00
parent 9c19cc6fc5
commit efcf95d2bc
2 changed files with 29 additions and 0 deletions

28
doc/building.md Normal file
View File

@ -0,0 +1,28 @@
# Building the mapserver
Instructions to build the mapserver from source
## Build dependencies
* go >= 1.11
Ubuntu install: https://github.com/golang/go/wiki/Ubuntu
## Compile
Working directory: */server*
```bash
# generate the static web files
go generate
# build the binary for the current playtform
go build
# (optionally) run the unit-tests
go test ./...
```

View File

@ -12,6 +12,7 @@ Realtime mapserver for [Minetest](https://minetest.net)
# Documentation
* [Installation](doc/install.md)
* [Building](doc/building.md)
* [Mapserver mod](doc/mod.md)
* [Parameters](doc/params.md)
* [Search](doc/search.md)