From ffb77bdb15e84170cc9a1b9f9b3991c84aa862f1 Mon Sep 17 00:00:00 2001 From: woodser Date: Thu, 23 Feb 2023 09:38:41 -0500 Subject: [PATCH] instruct to install protoc 3.20.3 --- README.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/README.md b/README.md index 86d5798c..af661ea4 100644 --- a/README.md +++ b/README.md @@ -44,10 +44,7 @@ Running the [API tests](./src/HavenoClient.test.ts) is the best way to develop a 2. Clone this project to the same parent directory as the haveno project: `git clone https://github.com/haveno-dex/haveno-ts` 3. In a new terminal, start envoy with the config in haveno-ts/config/envoy.test.yaml (change absolute path for your system): `docker run --rm --add-host host.docker.internal:host-gateway -it -v ~/git/haveno-ts/config/envoy.test.yaml:/envoy.test.yaml -p 8079:8079 -p 8080:8080 -p 8081:8081 -p 8082:8082 -p 8083:8083 -p 8084:8084 -p 8085:8085 -p 8086:8086 envoyproxy/envoy-dev:latest -c /envoy.test.yaml` 4. In a new terminal, start the funding wallet. This wallet will be funded automatically in order to fund the tests.
For example: `cd ~/git/haveno && make funding-wallet-local`. -5. Install protobuf compiler v3.19.1 or later for your system:
- mac: `brew install protobuf`
- linux: `apt install protobuf-compiler` - NOTE: You may need to upgrade to v3.19.1 manually if your package manager installs an older version. +5. Install protobuf compiler [v3.20.3](https://github.com/protocolbuffers/protobuf/releases/tag/v3.20.3) for your system. 6. Download `protoc-gen-grpc-web` plugin and make executable as [shown here](https://github.com/grpc/grpc-web#code-generator-plugin). 7. `cd haveno-ts` 8. `npm install`