feat(dev): support running alongside installed DBX
This commit is contained in:
@@ -157,6 +157,10 @@ make
|
||||
make dev-fast
|
||||
```
|
||||
|
||||
开发版可以与已安装的 DBX 同时运行。两者使用同一份本地 DBX 数据,因此连接和历史记录会同时可用;请避免在两个窗口中同时修改同一个连接、收藏 SQL 或全局设置。
|
||||
|
||||
测试 MCP bridge 时,后启动的实例会写入共享的 `mcp-bridge-port` 发现文件并接收 MCP 请求。Redis PubSub 优先使用端口 `4224`(设置 `DBX_PORT` 时优先使用该端口);端口被占用时会自动回退到可用的本地端口,前端会使用实际监听端口。
|
||||
|
||||
### Windows
|
||||
|
||||
在 PowerShell 中执行:
|
||||
|
||||
@@ -157,6 +157,10 @@ If your change does not involve DuckDB, skip the DuckDB source build:
|
||||
make dev-fast
|
||||
```
|
||||
|
||||
Development builds can run alongside an installed DBX instance. Both use the same local DBX data, so connections and history are available in each window. Avoid changing the same connection, saved SQL, or global setting in both windows at once.
|
||||
|
||||
When testing the MCP bridge, the instance started last owns the shared `mcp-bridge-port` discovery file and receives MCP requests. Redis PubSub prefers port `4224` (or `DBX_PORT` when set) and automatically falls back to an available local port; the frontend uses the actual bound port.
|
||||
|
||||
### Windows
|
||||
|
||||
Run in PowerShell:
|
||||
|
||||
Reference in New Issue
Block a user