mirror of
https://github.com/LiteyukiStudio/spage.git
synced 2026-01-25 13:12:02 +00:00
⚡️ 更新 README.md,修正 SQLite3 相关描述,移除 CGO 支持并推荐使用 PostgreSQL 进行开发
This commit is contained in:
6
.github/workflows/build-aio.yaml
vendored
6
.github/workflows/build-aio.yaml
vendored
@@ -84,6 +84,12 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
include: [
|
||||
{ goos: "android", goarch: "arm", goarm: "7", output: "armv7" },
|
||||
{ goos: "android", goarch: "arm", goarm: "6", output: "armv6" },
|
||||
{ goos: "android", goarch: "arm", goarm: "5", output: "armv5" },
|
||||
{ goos: "android", goarch: "arm64", output: "arm64"},
|
||||
{ goos: "android", goarch: "386", output: "386" },
|
||||
{ goos: "android", goarch: "amd64", output: "amd64" },
|
||||
{ goos: "darwin", goarch: "amd64", goamd64: "v1", output: "amd64-v1" },
|
||||
{ goos: "darwin", goarch: "amd64", goamd64: "v3", output: "amd64-v3" },
|
||||
{ goos: "darwin", goarch: "arm64", output: "arm64" },
|
||||
|
||||
@@ -164,15 +164,17 @@ go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
|
||||
### 数据库
|
||||
|
||||
最早,我们提供了默认的SQLite,便于开发者开发调试
|
||||
由于SQLite3是由C语言编写,CGO跨平台兼容性特别坏,便移除了对CGO的支持,开发者需要自行部署PostgreSQL进行开发
|
||||
由于SQLite3是由C语言编写,CGO跨平台兼容性特别烂,便移除了对CGO的支持,开发者需要自行部署PostgreSQL进行开发
|
||||
推荐使用容器化一键启动
|
||||
|
||||
如果你仍然想使用SQLite3进行开发,可以构建我们写好的sqlite插件,它在开发时会动态链接过去(仅支持macOS和Linux)
|
||||
如果你仍然想在开发中使用SQLite3,可以构建我们写好的sqlite插件,它在开发时会动态链接过去(仅支持macOS和Linux)
|
||||
|
||||
```bash
|
||||
make plugin name=sqlite
|
||||
```
|
||||
|
||||
> 请勿将此用于生产环境,我们不能保证它不会出事
|
||||
|
||||
### 前端环境配置
|
||||
|
||||
- 安装pnpm和node(或其他运行时,例如bun,deno)
|
||||
|
||||
Reference in New Issue
Block a user