docs(webui): revise README to clarify WebSocket channel setup and sequence of startup steps

This commit is contained in:
Xubin Ren
2026-04-21 12:46:17 +00:00
parent c1957e14ff
commit 1b692debdc
2 changed files with 18 additions and 4 deletions
+8 -2
View File
@@ -194,13 +194,19 @@ nanobot agent
<img src="images/nanobot_webui.png" alt="nanobot webui preview" width="900">
</p>
**1. Start the gateway**
**1. Enable the WebSocket channel in `~/.nanobot/config.json`**
```json
{ "channels": { "websocket": { "enabled": true } } }
```
**2. Start the gateway**
```bash
nanobot gateway
```
**2. Start the webui dev server**
**3. Start the webui dev server**
```bash
cd webui