From 5ddb9e30fe36463f90da66b5617b1eb72eddeaa1 Mon Sep 17 00:00:00 2001 From: Lorenzo Venerandi Date: Thu, 12 Dec 2024 11:32:42 +0100 Subject: [PATCH] add readme --- infra/wasmcloud/wasmcloud-edge-host/README.md | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 infra/wasmcloud/wasmcloud-edge-host/README.md diff --git a/infra/wasmcloud/wasmcloud-edge-host/README.md b/infra/wasmcloud/wasmcloud-edge-host/README.md new file mode 100644 index 0000000..a745570 --- /dev/null +++ b/infra/wasmcloud/wasmcloud-edge-host/README.md @@ -0,0 +1,28 @@ +# Wasmcloud Edge Deployment + +## NATS Leaf + +Creare il nodo `nats-leaf` utilizzando il docker-compose (modificare `nats-leaf.conf` se necessario) + +```bash +docker compose up -d +``` +Controllare la connessione a Nats +```bash +nast server check connection +``` + +## Wasmcloud Host + +Creare l'host wasmcloud con il comando +```bash +wash up -d +``` +Controllare il corretto deployment dell'host +```bash +wash get inventory +``` +Aggiungere la label all'host +```bash +wash label host-type=edge +``` \ No newline at end of file