From 0d293873c336c26c82aa1ddd1108a00b0aa28d8a Mon Sep 17 00:00:00 2001 From: boyska Date: Sat, 9 Oct 2021 21:14:41 +0200 Subject: [PATCH] istruzioni --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index afaee61..8dd9d8d 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,8 @@ Il tutto funziona mettendo insieme vari componenti scritti in maniera abbastanza ## Testare +### Lancia il server + Prepara i certificati in `pizzicore/cert.pem` e `pizzicore/key.pem` usando openssl: ```sh @@ -23,3 +25,11 @@ openssl req -new -key key.pem -out server.csr openssl x509 -req -days 365 -in server.csr -signkey key.pem -out cert.pem ``` +a questo punto lancia `docker-compose up` + +### GUI + +``` +./utils/wsclient.py -k 'wss://localhost:8000/v1/ws/counter/0' | stdbuf -o0 jq .value | ./schermetto/num_display.py --no-fu --inve 4 +``` +