feat: add sub2api source compatibility
This commit is contained in:
@@ -40,11 +40,18 @@ cp .env.example .env
|
||||
docker-compose up -d
|
||||
```
|
||||
|
||||
本地源码构建运行:
|
||||
本地源码一键运行(适合本机长期调试/兼容版):
|
||||
|
||||
```bash
|
||||
cp .env.example .env
|
||||
docker compose -f docker-compose.local.yml up -d --build
|
||||
bash scripts/install-local-source.sh install
|
||||
```
|
||||
|
||||
默认会克隆/更新当前仓库,启动 Go 后端 `8080` 与 Next.js 前端 `3000`,数据保存在 `data/`。常用命令:
|
||||
|
||||
```bash
|
||||
bash scripts/install-local-source.sh status
|
||||
bash scripts/install-local-source.sh restart
|
||||
bash scripts/install-local-source.sh stop
|
||||
```
|
||||
|
||||
运行后默认端口3000,可访问 `http://localhost:3000`。
|
||||
|
||||
Reference in New Issue
Block a user