mirror of
https://github.com/IoTManagerProject/IoTManagerWeb.git
synced 2026-03-26 23:12:34 +03:00
Enhance layout handling and debugging in WebSocketManager; update mock_backend and App.svelte for improved widget integration and console logging.
This commit is contained in:
@@ -4,8 +4,14 @@ Emulates the IoTManager ESP backend: WebSocket on port 81, HTTP for `/iotm/ver.j
|
||||
|
||||
## Run
|
||||
|
||||
**Option A — from `scripts/` (venv already in scripts):**
|
||||
```bash
|
||||
cd IoTManagerWeb/scripts
|
||||
.venv/bin/python mock_backend.py
|
||||
```
|
||||
|
||||
**Option B — from project root:**
|
||||
```bash
|
||||
# From IoTManagerWeb root
|
||||
python3 -m venv .venv-mock
|
||||
.venv-mock/bin/pip install -r scripts/requirements-mock.txt
|
||||
.venv-mock/bin/python scripts/mock_backend.py --host 0.0.0.0 --ws-port 81 --http-port 8081
|
||||
|
||||
Reference in New Issue
Block a user