From 82b0a3b1dcb938bd02bb58a723bda58f17891db9 Mon Sep 17 00:00:00 2001 From: leovct Date: Wed, 8 Nov 2023 12:26:26 +0100 Subject: [PATCH] chore: nit --- README.md | 17 ++++++++++------- configs/README.md | 2 +- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 78afeffc..43748c14 100644 --- a/README.md +++ b/README.md @@ -324,8 +324,8 @@ Please, make sure to install the following software/packages on the VMs. ```bash wget https://raw.githubusercontent.com/maticnetwork/node-ansible/master/go-install.sh \ && chmod +x go-install.sh \ - && ./go-install.sh --remove \ - && ./go-install.sh + && bash go-install.sh --remove \ + && bash go-install.sh ``` - Rabbitmq (_host_ and _remotes_) @@ -368,7 +368,8 @@ Please, make sure to install the following software/packages on the VMs. On the _host_ machine, please run ```bash -git clone https://github.com/maticnetwork/matic-cli.git \ +cd \ + && git clone https://github.com/maticnetwork/matic-cli.git \ && cd matic-cli \ && npm install \ && alias matic-cli="$(pwd)/bin/matic-cli" \ @@ -381,7 +382,9 @@ git clone https://github.com/maticnetwork/matic-cli.git \ Adjust the [docker configs](configs/devnet/docker-setup-config.yaml) and run ```bash -matic-cli setup devnet --config ../configs/devnet/docker-setup-config.yaml +$ matic-cli setup devnet --config ../configs/devnet/docker-setup-config.yaml +... +DONE Devnet is ready ``` Once the setup is done, follow these steps for local docker deployment @@ -393,7 +396,7 @@ Once the setup is done, follow these steps for local docker deployment - Start ganache ```bash - bash docker-ganache-start.sh + chmod +x docker-ganache-start.sh && bash docker-ganache-start.sh ``` - Start `heimdall` instances (it will run all services - rabbitmq, heimdall, bridge, server) @@ -453,12 +456,12 @@ In this case, the stack is already running, you would just need to deploy/sync s - Deploy contracts on Child chain ```bash - bash ganache-deployment-bor.sh + ./ganache-deployment-bor.sh ``` - Sync contract addresses to Main chain ```bash - bash ganache-deployment-sync.sh + ./ganache-deployment-sync.sh ``` #### Clean setup diff --git a/configs/README.md b/configs/README.md index 9db49180..4a36ec41 100644 --- a/configs/README.md +++ b/configs/README.md @@ -7,7 +7,7 @@ For `mati-cli`, the configs are directly used to spin the network up. ## Usage ```bash -matic-cli setup devnet -c path/to/config.yaml +matic-cli setup devnet --config path/to/config.yaml ``` ## Option details with examples