mirror of
https://github.com/caddyserver/caddy.git
synced 2025-02-09 01:26:35 +01:00
1.0 release
This commit is contained in:
parent
c32a0f5f71
commit
15fecbc161
3 changed files with 14 additions and 8 deletions
10
README.md
10
README.md
|
@ -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() {
|
||||||
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() {
|
||||||
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.
|
||||||
|
|
||||||
|
|
10
dist/CHANGES.txt
vendored
10
dist/CHANGES.txt
vendored
|
@ -1,12 +1,18 @@
|
||||||
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
|
||||||
|
|
2
dist/README.txt
vendored
2
dist/README.txt
vendored
|
@ -1,4 +1,4 @@
|
||||||
CADDY 1.0.0beta2
|
CADDY 1.0.0
|
||||||
|
|
||||||
Website
|
Website
|
||||||
https://caddyserver.com
|
https://caddyserver.com
|
||||||
|
|
Loading…
Reference in a new issue