Remove go-nitro from setup

This commit is contained in:
IshaVenikar 2024-07-19 11:52:58 +05:30
parent 50616bc580
commit cd95856856

View File

@ -310,49 +310,7 @@
### Go Nitro
1. Clone go-nitro repository
```bash
git clone git@github.com:cerc-io/go-nitro.git
cd go-nitro
# Install Node.js dependencies and build the repo
yarn && yarn build
# Install go dependencies
go mod tidy
```
2. Build go-nitro and bridge binaries
```bash
go build
go build -o nitro-bridge cmd/start-bridge/main.go
```
3. Generate TLS certificate (prerequisite: [mkcert](https://github.com/cerc-io/go-nitro/tree/main/tls#tls))
```bash
cd tls
make create-cert
# Go back to go-nitro
cd ../
```
4. Install `nitro-rpc-client` package globally:
```bash
# In go-nitro
npm install -g ./packages/nitro-rpc-client
# Confirm global installation by running
nitro-rpc-client --version
```
- Replace `<go-nitro-repo-absolute-path>` with absolute path to the cloned go-nitro repo
### Bridge Stack
#### Bridge Stack
1. Clone the stack repos: