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

added MacOS requirement guide and fixed typos #239

Closed
wants to merge 1 commit into from
Closed
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
64 changes: 63 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,8 @@ other VMs' IPs (_remotes_).

Please, make sure to install the following software/packages on the VMs.

#### **Ubuntu**

- Build Essentials (_host_ and _remotes_)

```bash
Expand Down Expand Up @@ -386,6 +388,66 @@ Please, make sure to install the following software/packages on the VMs.
npm install --global ganache
```

#### **MacOS**

- Build Essentials (_host_ and _remotes_)

```zsh
xcode-select --install
```

- Go 1.18+ (_host_ and _remotes_)

```zsh
curl -O https://raw.githubusercontent.com/maticnetwork/node-ansible/master/go-install.sh
bash go-install.sh --remove
bash go-install.sh
```

- Rabbitmq (_host_ and _remotes_)

```zsh
brew install rabbitmq
```

- Docker (_host_ and _remotes_, only needed in case of a docker setup)

https://docs.docker.com/desktop/install/mac-install/

- Node v18.19.0 (only _host_)

```zsh
curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash \
&& source /home/ubuntu/.bashrc \
&& nvm install 18.19.0 \
&& node --version
```

- Python 2 (only _host_)

```zsh
brew install pyenv
pyenv install 2.7.18
pyenv global 2.7.18
python --version
```

- Solc v0.5.16 (only _host_)

```zsh
brew tap ethereum/ethereum
brew install solc-select
solc-select install 0.5.17
solc-select use 0.5.17
solc --version
```

- Ganache CLI (only _host_)

```zsh
npm install --global ganache
```

### Usage

On the _host_ machine, please run
Expand Down Expand Up @@ -484,7 +546,7 @@ In this case, the stack is already running, you would just need to deploy/sync s

#### Clean setup

Stop al services, remove the `matic-cli/devnet` folder, and you can start the process once again
Stop all services, remove the `matic-cli/devnet` folder, and you can start the process once again

#### Notes

Expand Down
Loading