Skip to content

armgit / dbx

Public Imported from GitHub
0

25 MB lightweight cross-platform database client for 100+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 100+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP。

docs(setup): update Windows development instructions

dadong1ecac25d52ed
diff --git a/docs/content/docs/contributing.cn.mdx b/docs/content/docs/contributing.cn.mdx
index dede27b90f..eeb8132fb9 100644
--- a/docs/content/docs/contributing.cn.mdx
+++ b/docs/content/docs/contributing.cn.mdx
@@ -45,7 +45,7 @@ DBX 桌面版基于 Tauri、Vue 和 Rust。仓库当前要求:
| pnpm | 10.27.0 |
| Rust | 1.88 或更高版本 |
| Git | 当前稳定版本 |
-| Make | macOS 和 Linux 推荐使用 |
+| Make | macOS 和 Linux 需要;Windows 可选 |
### 安装 Node.js 和 pnpm
@@ -106,7 +106,15 @@ Tauri 的完整系统要求可以参考 [Tauri 官方前置依赖文档](https:/
1. 安装 [Microsoft C++ Build Tools](https://visualstudio.microsoft.com/visual-cpp-build-tools/)。
2. 在安装器中选择 **Desktop development with C++**。
3. 确认已安装 Windows 10/11 SDK 和 WebView2。Windows 11 通常已自带 WebView2。
- 4. 使用 PowerShell 执行本页的 Windows 命令。
+ 4. 安装 [Strawberry Perl](https://github.com/StrawberryPerl/Perl-Dist-Strawberry/releases)(编译内置 OpenSSL 所需):
+
+ ```powershell
+ winget install StrawberryPerl.StrawberryPerl
+ ```
+
+ DBX 默认启用 `sqlite-sqlcipher` 特性,需要从源码编译 SQLCipher 和 OpenSSL,而 Windows 上编译 OpenSSL 必须使用 Perl 执行 `Configure` 脚本。安装后请重新打开终端,使 `perl` 进入 `PATH`。
+
+ 5. 使用 PowerShell 执行本页的 Windows 命令。
Windows 不必安装 Make,本页会同时给出对应的 pnpm 命令。
@@ -153,7 +161,7 @@ make
`make` 会使用锁文件安装依赖,然后启动 Tauri 桌面开发环境。第一次编译 Rust 依赖需要较长时间,后续启动会明显更快。
-如需轻量桌面开发构建,可以保留 DuckDB sidecar 支持,同时跳过其他默认 Rust feature:
+如需轻量桌面开发构建,可以关闭默认 Rust feature,仅启用 DuckDB sidecar 和 DynamoDB:
```bash
make dev-fast
@@ -460,7 +468,7 @@ git push --force-with-lease
### 第一次 Rust 编译很慢
-这是正常现象。轻量桌面开发可以使用仍支持 DuckDB 的 `make dev-fast`。`make cargo-check-fast` 和 `make cargo-test-fast` 会跳过全部可选默认 feature,因此不会验证 DuckDB 专用路径。
+这是正常现象。轻量桌面开发可以使用 `make dev-fast`,它关闭默认 Rust feature,仅启用 DuckDB sidecar 和 DynamoDB。`make cargo-check-fast` 和 `make cargo-test-fast` 会跳过全部可选默认 feature,因此不会验证 DuckDB 专用路径。
### pnpm 提示版本不正确
diff --git a/docs/content/docs/contributing.mdx b/docs/content/docs/contributing.mdx
index 31eb0b9924..e2675f7ed1 100644
--- a/docs/content/docs/contributing.mdx
+++ b/docs/content/docs/contributing.mdx
@@ -45,7 +45,7 @@ DBX Desktop uses Tauri, Vue, and Rust. The repository currently requires:
| pnpm | 10.27.0 |
| Rust | 1.88 or newer |
| Git | Current stable version |
-| Make | Recommended on macOS and Linux |
+| Make | Required on macOS and Linux; optional on Windows |
### Install Node.js and pnpm
@@ -106,7 +106,15 @@ See the [official Tauri prerequisites](https://v2.tauri.app/start/prerequisites/
1. Install [Microsoft C++ Build Tools](https://visualstudio.microsoft.com/visual-cpp-build-tools/).
2. Select **Desktop development with C++** in the installer.
3. Make sure a Windows 10/11 SDK and WebView2 are installed. Windows 11 normally includes WebView2.
- 4. Run the Windows commands on this page in PowerShell.
+ 4. Install [Strawberry Perl](https://github.com/StrawberryPerl/Perl-Dist-Strawberry/releases), required to build the bundled OpenSSL:
+
+ ```powershell
+ winget install StrawberryPerl.StrawberryPerl
+ ```
+
+ DBX enables the `sqlite-sqlcipher` feature by default, which compiles SQLCipher and OpenSSL from source. Windows needs Perl to run the OpenSSL `Configure` script. Reopen your terminal after installing so `perl` is available on `PATH`.
+
+ 5. Run the Windows commands on this page in PowerShell.
Make is optional on Windows because equivalent pnpm commands are provided below.
@@ -153,7 +161,7 @@ make
`make` installs dependencies from the lockfile and starts the Tauri desktop development environment. The first Rust build can take a while; later starts are much faster.
-For a lightweight desktop build, keep DuckDB sidecar support while skipping the other default Rust features:
+For a lightweight desktop build, disable the default Rust features and enable only the DuckDB sidecar and DynamoDB:
```bash
make dev-fast
@@ -460,7 +468,7 @@ git push --force-with-lease
### The First Rust Build Is Slow
-This is expected. Use `make dev-fast` for a lightweight desktop build that still supports DuckDB. `make cargo-check-fast` and `make cargo-test-fast` skip all optional default features, so they do not validate DuckDB-specific paths.
+This is expected. Use `make dev-fast` for a lightweight desktop build with default Rust features disabled and only the DuckDB sidecar and DynamoDB enabled. `make cargo-check-fast` and `make cargo-test-fast` skip all optional default features, so they do not validate DuckDB-specific paths.
### pnpm Reports the Wrong Version
diff --git a/docs/content/docs/getting-started.cn.mdx b/docs/content/docs/getting-started.cn.mdx
index 3f55d6f266..c0557ca3c9 100644
--- a/docs/content/docs/getting-started.cn.mdx
+++ b/docs/content/docs/getting-started.cn.mdx
@@ -235,7 +235,7 @@ description: 安装 DBX、创建第一个连接,并了解桌面版、Docker
- [Node.js](https://nodejs.org/) >= 22.13.0
- [pnpm](https://pnpm.io/) 10.27.0
-- Make
+- Make(macOS 和 Linux 需要;Windows 可选)
- [Rust](https://www.rust-lang.org/tools/install) >= 1.88
### 系统依赖
@@ -243,7 +243,16 @@ description: 安装 DBX、创建第一个连接,并了解桌面版、Docker
<Tabs groupId="dev-platform" items={["macOS", "Linux", "Windows"]}>
<Tab value="macOS">```bash brew install unixodbc ```</Tab>
<Tab value="Linux">```bash sudo apt-get install -y libwebkit2gtk-4.1-dev libgtk-3-dev libappindicator3-dev librsvg2-dev patchelf libssl-dev unixodbc-dev ```</Tab>
- <Tab value="Windows">Windows 通常不需要额外安装系统依赖。</Tab>
+ <Tab value="Windows">
+ 安装 [Strawberry Perl](https://github.com/StrawberryPerl/Perl-Dist-Strawberry/releases)(编译内置 OpenSSL 所需):
+
+ ```powershell
+ winget install StrawberryPerl.StrawberryPerl
+ ```
+
+ DBX 默认启用 `sqlite-sqlcipher` 特性,需要从源码编译 SQLCipher 和 OpenSSL,而 Windows 上编译 OpenSSL 必须使用 Perl 执行 `Configure` 脚本。安装后请重新打开终端,使 `perl` 进入 `PATH`。
+
+ </Tab>
</Tabs>
### 启动开发环境
@@ -269,4 +278,4 @@ make dev-backend
make package
```
-桌面安装包会输出到 `src-tauri/target/release/bundle/`。
+桌面安装包会输出到 `target/release/bundle/`。
diff --git a/docs/content/docs/getting-started.mdx b/docs/content/docs/getting-started.mdx
index f0f220a12e..f6fb28f9e1 100644
--- a/docs/content/docs/getting-started.mdx
+++ b/docs/content/docs/getting-started.mdx
@@ -229,7 +229,7 @@ Use source mode when contributing or debugging DBX locally.
- [Node.js](https://nodejs.org/) >= 22.13.0
- [pnpm](https://pnpm.io/) 10.27.0
-- Make
+- Make (required on macOS and Linux; optional on Windows)
- [Rust](https://www.rust-lang.org/tools/install) >= 1.88
### System Dependencies
@@ -237,7 +237,16 @@ Use source mode when contributing or debugging DBX locally.
<Tabs groupId="dev-platform" items={["macOS", "Linux", "Windows"]}>
<Tab value="macOS">```bash brew install unixodbc ```</Tab>
<Tab value="Linux">```bash sudo apt-get install -y libwebkit2gtk-4.1-dev libgtk-3-dev libappindicator3-dev librsvg2-dev patchelf libssl-dev unixodbc-dev ```</Tab>
- <Tab value="Windows">Windows usually needs no extra system dependency for local DBX development.</Tab>
+ <Tab value="Windows">
+ Install [Strawberry Perl](https://github.com/StrawberryPerl/Perl-Dist-Strawberry/releases), required to build the bundled OpenSSL:
+
+ ```powershell
+ winget install StrawberryPerl.StrawberryPerl
+ ```
+
+ DBX enables the `sqlite-sqlcipher` feature by default, which compiles SQLCipher and OpenSSL from source. Windows needs Perl to run the OpenSSL `Configure` script. Reopen your terminal after installing so `perl` is available on `PATH`.
+
+ </Tab>
</Tabs>
### Start Development
@@ -263,4 +272,4 @@ make dev-backend
make package
```
-Desktop installers are written to `src-tauri/target/release/bundle/`.
+Desktop installers are written to `target/release/bundle/`.