From 605787f6717602982f7f485353a7cb479b659802 Mon Sep 17 00:00:00 2001 From: elcore Date: Fri, 12 Apr 2019 22:31:38 +0200 Subject: [PATCH] readme: Update build instructions (#2565) Fix #2560 --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 2181d5c42cd..e03d31d3675 100644 --- a/README.md +++ b/README.md @@ -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`