Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Andersen authored Sep 21, 2018
1 parent 331dec1 commit 2bb83da
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,19 @@ You can now start wavemq with `sudo sytemctl daemon-reload; sudo systemctl start

## Getting started: using the site router

TODO
First you need to create an entity for the service that will be connecting to the site router:

```bash
wv mke -o service.ent --expiry 1y
```

Then grant permissions from your namespace to your service entity:

```bash
wv rtgrant --attester namespace.ent --subject service.ent --expiry 1y "wavemq:subscribe,publish,query@namespace.ent/*"
```

Then you follow [the example](https://github.com/immesys/wavemq/tree/master/example) and fill in the namespace hash and entity file you are using. If you run the example, it should print out hello world five times then exit.

## Getting started: creating a designated router

Expand Down

0 comments on commit 2bb83da

Please sign in to comment.