docs(setup): explain adding the Go bin directory to PATH after go install
This commit is contained in:
@@ -25,6 +25,12 @@ go install ./cmd/summer
|
|||||||
summer --help
|
summer --help
|
||||||
```
|
```
|
||||||
|
|
||||||
|
`go install` writes the binary to `$(go env GOPATH)/bin`, usually `~/go/bin`. If `summer --help` reports `command not found`, that directory is not on your `PATH`. Add it for the current shell, and to your shell profile to keep it:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
export PATH="$(go env GOPATH)/bin:$PATH"
|
||||||
|
```
|
||||||
|
|
||||||
The tool builds and watches applications, scaffolds plugins, models, migrations and admin controllers, and builds this documentation. Check that the framework compiles and its unit tests pass:
|
The tool builds and watches applications, scaffolds plugins, models, migrations and admin controllers, and builds this documentation. Check that the framework compiles and its unit tests pass:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
|||||||
Reference in New Issue
Block a user