Commit 15fecbc1 authored by Matthew Holt's avatar Matthew Holt

1.0 release

parent c32a0f5f
...@@ -81,8 +81,7 @@ To build from source you need **[Git](https://git-scm.com/downloads)** and **[Go ...@@ -81,8 +81,7 @@ To build from source you need **[Git](https://git-scm.com/downloads)** and **[Go
<!-- TODO: This env variable will not be required starting with Go 1.13 --> <!-- TODO: This env variable will not be required starting with Go 1.13 -->
1. Set the transitional environment variable for Go modules: `export GO111MODULE=on` 1. Set the transitional environment variable for Go modules: `export GO111MODULE=on`
<!-- TODO: The specific version will not be required after the stable 1.0.0 release --> 2. Run `go get github.com/mholt/caddy/caddy`
2. Run `go get github.com/mholt/caddy/caddy@v1.0.0-beta2`
Caddy will be installed to your `$GOPATH/bin` folder. Caddy will be installed to your `$GOPATH/bin` folder.
...@@ -111,8 +110,9 @@ func main() { ...@@ -111,8 +110,9 @@ func main() {
caddymain.Run() caddymain.Run()
} }
``` ```
3. `go mod init mycaddy` (the name doesn't really matter). 3. `go mod init caddy`
4. `go install` will then create your binary at `$GOPATH/bin`, or `go build` will put it in the current directory. 4. Run `go get github.com/mholt/caddy`
5. `go install` will then create your binary at `$GOPATH/bin`, or `go build` will put it in the current directory.
**To install Caddy's source code for development:** **To install Caddy's source code for development:**
...@@ -120,7 +120,7 @@ func main() { ...@@ -120,7 +120,7 @@ func main() {
1. Set the transitional environment variable for Go modules: `export GO111MODULE=on` 1. Set the transitional environment variable for Go modules: `export GO111MODULE=on`
2. Run `git clone https://github.com/mholt/caddy.git` in any folder (doesn't have to be in GOPATH). 2. Run `git clone https://github.com/mholt/caddy.git` in any folder (doesn't have to be in GOPATH).
You can make changes to the source code in this repo, since it is a Go module. You can make changes to the source code from that clone and checkout any commit or tag you wish to develop on.
When building from source, telemetry is enabled by default. You can disable it by changing `caddymain.EnableTelemetry = false` in run.go, or use the `-disabled-metrics` flag at runtime to disable only certain metrics. When building from source, telemetry is enabled by default. You can disable it by changing `caddymain.EnableTelemetry = false` in run.go, or use the `-disabled-metrics` flag at runtime to disable only certain metrics.
......
CHANGES CHANGES
1.0.0beta2 (April 20, 2019) 1.0.0 (April 24, 2019)
- Minor internal/linting improvements
- EULA no longer applies
- Backwards compatibility goal (see project repo)
1.0.0-beta2 (April 20, 2019)
- Continue migration to Go modules - Continue migration to Go modules
- Eliminate need for special build script - Eliminate need for special build script
- Internal changes for better compatibility - Internal changes for better compatibility
1.0.0beta1 (April 9, 2019) 1.0.0-beta1 (April 9, 2019)
- Major internal changes (Go modules & remove vendor) - Major internal changes (Go modules & remove vendor)
- Rename -env flag to -envfile - Rename -env flag to -envfile
- New -env flag to print the environment - New -env flag to print the environment
......
CADDY 1.0.0beta2 CADDY 1.0.0
Website Website
https://caddyserver.com https://caddyserver.com
......
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