Skip to content

Commit

Permalink
Some tweaks to the developer setup guide (mattermost#1355)
Browse files Browse the repository at this point in the history
* Added mention of required Go version and possible
docker issues with WSL2

* Updated ruby version as per the ruby version requirement in the mobile repo
  • Loading branch information
KrisSiegel authored Apr 22, 2024
1 parent 2a4435b commit f776e95
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions site/content/contribute/developer-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ If you're using Windows, we recommend using the Windows Subsystem for Linux (WSL
```

1. Install [Docker](https://www.docker.com/). If you don't want to use Docker, you can follow [this guide](#develop-mattermost-without-docker).
- When running `docker` commands under WSL2, if you receive the error `The command 'docker' could not be found in this WSL 2 distro.` you may need to toggle the `Use the WSL 2 based engine` off and on within Docker Settings after installation.

1. Install [Go](https://go.dev/).
- Version 1.21 or higher is required.

1. Increase the number of available file descriptors. Update your shell's initialization script (e.g. `.bashrc` or `.zshrc`), and add the following:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,11 +129,11 @@ If it isn't, we recommend using [Ruby Version Manager](https://rvm.io) or your p
```
4. Install the required version of Ruby
```sh
rvm install 2.7.6
rvm install 3.0.6
```
5. (Optional) If you don't need to use a different version of Ruby for anything else, you'll want to change the default version of Ruby. Without this, you'll need to run `rvm use 2.7.6` any time you want to work on the mobile app.
5. (Optional) If you don't need to use a different version of Ruby for anything else, you'll want to change the default version of Ruby. Without this, you'll need to run `rvm use 3.0.6` any time you want to work on the mobile app.
```sh
rvm alias create default 2.7.6
rvm alias create default 3.0.6
```
## Additional setup for Android
Expand Down

0 comments on commit f776e95

Please sign in to comment.