Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: clarify which version of go is required #2214

Merged
merged 1 commit into from
Jul 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 8 additions & 13 deletions docs/install/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,13 @@ Instructions on how to install Harvest via [NAbox](https://nabox.org/documentati

## Source

To build Harvest from source code, first make sure you have a working Go environment
with [version 1.19 or greater installed](https://golang.org/doc/install).

Clone the repo and build everything.

```
git clone https://github.com/NetApp/harvest.git
cd harvest
make build
bin/harvest version
```

If you're building on a Mac use `GOOS=darwin make build`
To build Harvest from source code follow these steps.

1. `git clone https://github.com/NetApp/harvest.git`
2. cd `harvest`
3. check the version of go required in the `go.mod` file
4. ensure you have a working Go environment at that version or newer. Go installs found [here](https://golang.org/doc/install).
5. `make build` (if you want to run Harvest from a Mac use `GOOS=darwin make build`)
6. `bin/harvest version`

Checkout the `Makefile` for other targets of interest.