2026-09-19 19:22:50 +08:00
|
|
|
|
# ChuSQL
|
|
|
|
|
|
|
2026-10-03 02:17:46 +08:00
|
|
|
|
本项目是一个简单的数据库项目,服务端采用 Haskell 和 Rust 联合编写
|
2026-09-19 19:22:50 +08:00
|
|
|
|
|
2026-10-03 02:17:46 +08:00
|
|
|
|
## 快速开始
|
2026-09-19 19:22:50 +08:00
|
|
|
|
|
2026-10-03 02:17:46 +08:00
|
|
|
|
### 安装
|
2026-09-19 19:22:50 +08:00
|
|
|
|
|
2026-10-03 02:17:46 +08:00
|
|
|
|
Linux / macOS:
|
2026-09-19 19:22:50 +08:00
|
|
|
|
|
2026-10-01 20:48:38 +08:00
|
|
|
|
```sh
|
2026-10-02 14:53:02 +08:00
|
|
|
|
curl -fsSL https://raw.githubusercontent.com/TheBadRoger/ChuSQL/main/scripts/install.sh | sh -s -- --component web
|
2026-10-01 20:48:38 +08:00
|
|
|
|
```
|
2026-09-19 19:22:50 +08:00
|
|
|
|
|
2026-10-03 02:17:46 +08:00
|
|
|
|
Windows(PowerShell 里下下来再跑;也有下载 zip 解压的包内安装):
|
2026-09-19 19:22:50 +08:00
|
|
|
|
|
2026-10-01 20:48:38 +08:00
|
|
|
|
```powershell
|
2026-10-03 02:17:46 +08:00
|
|
|
|
irm https://raw.githubusercontent.com/TheBadRoger/ChuSQL/main/scripts/install.ps1 -OutFile "$env:TEMP\install.ps1"
|
|
|
|
|
|
& "$env:TEMP\install.ps1" -Component web
|
2026-10-01 20:48:38 +08:00
|
|
|
|
```
|
2026-09-19 19:22:50 +08:00
|
|
|
|
|
2026-10-03 02:17:46 +08:00
|
|
|
|
### 启动
|
2026-09-19 19:22:50 +08:00
|
|
|
|
|
2026-10-03 02:17:46 +08:00
|
|
|
|
```sh
|
|
|
|
|
|
csql
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
启动CLI界面,或
|
2026-09-19 19:22:50 +08:00
|
|
|
|
|
2026-10-01 20:48:38 +08:00
|
|
|
|
```sh
|
|
|
|
|
|
csql-web
|
|
|
|
|
|
```
|
2026-09-21 23:44:37 +08:00
|
|
|
|
|
2026-10-03 02:17:46 +08:00
|
|
|
|
启动web界面,默认通过7778端口访问
|
2026-09-21 23:44:37 +08:00
|
|
|
|
|
2026-10-03 02:17:46 +08:00
|
|
|
|
## 更多参考文档
|
2026-10-01 20:48:38 +08:00
|
|
|
|
|
2026-10-03 02:17:46 +08:00
|
|
|
|
- [安装与卸载](docs/install.md)
|
|
|
|
|
|
- [配置选项](docs/config.md)
|
|
|
|
|
|
- [命令与选项](docs/commands.md)
|
|
|
|
|
|
- [架构与组件](docs/architecture.md)
|