update relayer readme (#1253)

This commit is contained in:
Evan Gray 2022-06-03 13:20:24 -04:00 committed by GitHub
parent 192c8966eb
commit 6a7fba9b04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 8 deletions

View File

@ -1,9 +1,3 @@
In order to compile spy_relay you need to do:
```
npm install redis
```
In order to run spy_relay successfully you need to do:
```
@ -28,19 +22,20 @@ cd /var/lib/snapd/desktop/applications; ./redis-desktop-manager_rdm.desktop
To build the spy / guardian docker container:
```
cd spy_relay
cd node
docker build -f Dockerfile -t guardian .
```
To run the docker image in TestNet:
```
docker run -e ARGS='--spyRPC [::]:7073 --network /wormhole/testnet/2/1 --bootstrap /dns4/wormhole-testnet-v2-bootstrap.certus.one/udp/8999/quic/p2p/12D3KooWBY9ty9CXLBXGQzMuqkziLntsVcyz4pk1zWaJRvJn6Mmt' -p 7073:7073 guardian
docker run -p 7073:7073 --entrypoint /guardiand guardian spy --nodeKey /tmp/node.key --spyRPC "[::]:7073" --network /wormhole/testnet/2/1 --bootstrap /dns4/wormhole-testnet-v2-bootstrap.certus.one/udp/8999/quic/p2p/12D3KooWBY9ty9CXLBXGQzMuqkziLntsVcyz4pk1zWaJRvJn6Mmt
```
To run spy_relay:
```
npm ci
npm run spy_relay
```