|
|
@@ -62,19 +62,6 @@ pnpm --dir frontend install --frozen-lockfile
|
|
|
|
|
|
MySQL 数据来自 `database/mysql.sql`,其中已经包含第一阶段继承数据和第二阶段所需业务数据。`init-databases` 脚本会自动导入 `insurance_s2_core`、`insurance_s2_agent` 和 `insurance_s2_analytics`,因此首次初始化不需要再单独执行迁移、种子或阶段继承命令。
|
|
|
|
|
|
-脚本默认连接名为 `zhibaotong-mysql` 的 MySQL 容器。如果你的容器名称不同,只需将数据库初始化命令替换为:
|
|
|
-
|
|
|
-```powershell
|
|
|
-.\scripts\init-databases.ps1 -ContainerName 你的容器名
|
|
|
-```
|
|
|
-
|
|
|
-macOS / Linux:
|
|
|
-
|
|
|
-```bash
|
|
|
-./scripts/init-databases.sh 你的容器名
|
|
|
-```
|
|
|
-
|
|
|
-
|
|
|
## 启动
|
|
|
|
|
|
在项目根目录运行:
|