|
@@ -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
|
|
|
+```
|
|
|
+
|