From 1cb388096655d77709a645eedb6b5cc3cd5f402a Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Tue, 10 May 2022 11:31:25 +0200 Subject: [PATCH] Better doc --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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