instructions for building the mapserver locally
This commit is contained in:
parent
9c19cc6fc5
commit
efcf95d2bc
28
doc/building.md
Normal file
28
doc/building.md
Normal 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 ./...
|
||||||
|
|
||||||
|
```
|
||||||
|
|
@ -12,6 +12,7 @@ Realtime mapserver for [Minetest](https://minetest.net)
|
|||||||
# Documentation
|
# Documentation
|
||||||
|
|
||||||
* [Installation](doc/install.md)
|
* [Installation](doc/install.md)
|
||||||
|
* [Building](doc/building.md)
|
||||||
* [Mapserver mod](doc/mod.md)
|
* [Mapserver mod](doc/mod.md)
|
||||||
* [Parameters](doc/params.md)
|
* [Parameters](doc/params.md)
|
||||||
* [Search](doc/search.md)
|
* [Search](doc/search.md)
|
||||||
|
Loading…
Reference in New Issue
Block a user