Commit 605787f6 authored by elcore's avatar elcore Committed by Matt Holt

readme: Update build instructions (#2565)

Fix #2560
parent 657780bc
...@@ -77,6 +77,7 @@ Caddy binaries have no dependencies and are available for every platform. Get Ca ...@@ -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: 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` - 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` - Now `cd $GOPATH/src/github.com/mholt/caddy/caddy` and run `go run build.go`
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment