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