Skip to content

Commit

Permalink
docs: add new Prerequisites (gnolang#1722)
Browse files Browse the repository at this point in the history
<!-- please provide a detailed description of the changes made in this
pull request. -->
I propose this change in the prerequisites of the
[getting-started](https://docs.gno.land/getting-started/local-setup)
because @kazai777 and I (mac apple silicon users) encountered a `command
not found` with the given commands. And by checking with `echo $GOPATH`,
the path was empty. We noticed that in the newer versions of Go, one
must manually add the path.

However, thanks to @mous1985 , we saw that on Ubuntu, it was set
automatically.

Warning -> this also needs to be verified on Windows.
<details><summary>Contributors' checklist...</summary>

- [x] Added new tests, or not needed, or not feasible
- [x] Provided an example (e.g. screenshot) to aid review or the PR is
self-explanatory
- [x] Updated the official documentation or not needed
- [x] No breaking changes were made, or a `BREAKING CHANGE: xxx` message
was included in the description
- [x] Added references to related issues and PRs
- [x] Provided any useful hints for running manual tests
- [ ] Added new benchmarks to [generated
graphs](https://gnoland.github.io/benchmarks), if any. More info
[here](https://github.com/gnolang/gno/blob/master/.benchmarks/README.md).
</details>

---------

Co-authored-by: théo dub <theodub@MacThox.local>
Co-authored-by: Leon Hudak <33522493+leohhhn@users.noreply.github.com>
  • Loading branch information
3 people committed Mar 6, 2024
1 parent 2aed6f7 commit 922ba5d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/getting-started/local-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ and validate that they are correctly configured to run on your machine.
- **Git**
- **`make` (for running Makefiles)**
- **Go 19+**
- **Go Environment Setup**:
- Make sure `$GOPATH` is well-defined, and `$GOPATH/bin` is added to your `$PATH` variable.
- To do this, you can add the following line to your `.bashrc`, `.zshrc` or other config file:
```
export GOPATH=$HOME/go
export PATH=$GOPATH/bin:$PATH
```

## 1. Cloning the repository

Expand Down

0 comments on commit 922ba5d

Please sign in to comment.