@marcel91200 / caddy Mirror · read-only / commits / c8da8ca6
Fork 0

Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

Mirrored from https://github.com/Slazee/caddy.git

Synced Nov 14, 05:15 UTC

Update readme

Matthew Holt committed May 7, 2020 at 13:01 UTC c8da8ca6739f34b8302c377de66605724512a994
1 file changed +4 -4
README.md
+4 -4
@@ -64,7 +64,6 @@
64 Requirements:
65
66 - [Go 1.14 or newer](https://golang.org/dl/)
67 -- Do NOT disable [Go modules](https://github.com/golang/go/wiki/Modules) (`export GO111MODULE=on`)
67
68 ### For development
69
@@ -81,7 +80,7 @@ _**Note:** These steps [will not embed proper version information](https://githu
80 Using [our builder tool](https://github.com/caddyserver/xcaddy)...
81
82 ```
84 -$ xcaddy build <caddy_version>
83 +$ xcaddy build
84 ```
85
86 ...the following steps are automated:
@@ -90,8 +89,9 @@ $ xcaddy build <caddy_version>
89 2. Change into it: `cd caddy`
90 3. Copy [Caddy's main.go](https://github.com/caddyserver/caddy/blob/master/cmd/caddy/main.go) into the empty folder. Add imports for any custom plugins you want to add.
91 4. Initialize a Go module: `go mod init caddy`
93 -5. Pin Caddy version: `go get github.com/caddyserver/caddy/v2@TAG` replacing `TAG` with a git tag or commit. You can also pin any plugin versions similarly.
94 -6. Compile: `go build`
92 +5. (Optional) Pin Caddy version: `go get github.com/caddyserver/caddy/v2@TAG` replacing `TAG` with a git tag or commit.
93 +6. (Optional) Add plugins by adding their import: `_ "IMPORT_PATH"`
94 +7. Compile: `go build`
95
96
97