Skip to content

Commit

Permalink
Update readme to reflect the deprecation of "go get -u" (#28)
Browse files Browse the repository at this point in the history
* Update readme to reflect the deprecation of "go get -u"

* Incorporate PR feedback
  • Loading branch information
tjhowse authored Feb 23, 2023
1 parent 9b4df8d commit cae2261
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,11 @@ Thank you, and we hope you have fun with it!

## Install

First, the [xcaddy](https://github.com/caddyserver/xcaddy) command:
First, ensure your GOROOT and GOPATH environment variables are correct for your environment.

```shell
$ go get -u github.com/caddyserver/xcaddy/cmd/xcaddy
```
Then, follow the xcaddy install process [here](https://github.com/caddyserver/xcaddy#install).

Then build Caddy with this Go module plugged in. For example:
Then, build Caddy with this Go module plugged in. For example:

```shell
$ xcaddy build --with github.com/caddyserver/nginx-adapter
Expand Down

0 comments on commit cae2261

Please sign in to comment.