mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2025-01-11 07:19:43 -05:00
instruct to install protoc 3.20.3
This commit is contained in:
parent
5a7ec350ca
commit
ffb77bdb15
@ -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.<br>For example: `cd ~/git/haveno && make funding-wallet-local`.
|
||||
5. Install protobuf compiler v3.19.1 or later for your system:<br>
|
||||
mac: `brew install protobuf`<br>
|
||||
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`
|
||||
|
Loading…
Reference in New Issue
Block a user