Better doc

This commit is contained in:
Quentin 2022-05-10 11:31:25 +02:00
parent eabb52a6c0
commit 1cb3880966
Signed by untrusted user: quentin
GPG key ID: E9602264D639FF68

View file

@ -87,10 +87,19 @@ cargo run -- --letsencrypt-email you@example.com --http-bind-addr [::1]:8080 --h
Register services: Register services:
``` ```bash
cd examples/node
npm install
node server.mjs
consul services register -name=localhost -tag="tricot localhost" -address [::1] -port 3000 consul services register -name=localhost -tag="tricot localhost" -address [::1] -port 3000
``` ```
Test it:
```
node client.mjs
```
## License ## License