update goreman installation command in local_cluster.md

`go install` is the recommended way to build and install packages in
module mode. `go get` should be used with the -d flag to adjust the
current module's dependencies without building packages, and use of
`go get` to build and install packages is deprecated. In a future
release, the -d flag will always be enabled.

Refer to https://go.dev/doc/go1.16.

Signed-off-by: Benjamin Wang <wachao@vmware.com>
dependabot/go_modules/go.uber.org/atomic-1.10.0
Benjamin Wang 2022-07-11 13:51:57 +08:00
parent 20bf49c24e
commit 39486c4289
1 changed files with 2 additions and 1 deletions

View File

@ -48,8 +48,9 @@ A `Procfile` at the base of the etcd git repository is provided to easily config
1. Install `goreman` to control Procfile-based applications:
```
$ go get github.com/mattn/goreman
$ go install github.com/mattn/goreman@latest
```
The installation will place executables in the $GOPATH/bin. If $GOPATH environment variable is not set, the tool will be installed into the $HOME/go/bin. Make sure that $PATH is set accordingly in your environment.
2. Start a cluster with `goreman` using etcd's stock Procfile: