diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-05-10 11:31:25 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-05-10 11:31:25 +0200 |
commit | 1cb388096655d77709a645eedb6b5cc3cd5f402a (patch) | |
tree | 51ca3d6de4b707a96f7af146618f201df8105086 /README.md | |
parent | eabb52a6c0028bc4e4bf9cb1cf1add28ab3df185 (diff) | |
download | tricot-ws.tar.gz tricot-ws.zip |
Better docws
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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 |