readme: Update build instructions (#2565)

Fix #2560
This commit is contained in:
elcore 2019-04-12 22:31:38 +02:00 committed by Matt Holt
parent 657780bcdf
commit 605787f671

View file

@ -77,6 +77,7 @@ Caddy binaries have no dependencies and are available for every platform. Get Ca
To build from source you need **[Git](https://git-scm.com/downloads)** and **[Go](https://golang.org/doc/install)** (1.12 or newer). Follow these instruction for fast building:
- Set the transitional environment variable `GO111MODULE` to `on`
- Get the source with `go get github.com/mholt/caddy/caddy` and then run `go get github.com/caddyserver/builds`
- Now `cd $GOPATH/src/github.com/mholt/caddy/caddy` and run `go run build.go`