diff --git a/.gitignore b/.gitignore index f9a685b..159dbf1 100644 --- a/.gitignore +++ b/.gitignore @@ -68,6 +68,6 @@ application-my.yaml # Local deployment credentials and runtime files /deploy/local/secrets.psd1 +/deploy/local/.env /deploy/local/.runtime/ /.run/ElderYudaoLocal.run.xml -/yudao-server/src/main/resources/application-desktop.yaml diff --git a/.run/ElderYudaoFrontend.run.xml b/.run/ElderYudaoFrontend.run.xml index b630af2..1fa4f38 100644 --- a/.run/ElderYudaoFrontend.run.xml +++ b/.run/ElderYudaoFrontend.run.xml @@ -1,5 +1,5 @@ - + diff --git a/README.md b/README.md index 0d7c797..9f6cb08 100644 --- a/README.md +++ b/README.md @@ -42,3 +42,19 @@ Cloud 文档验证码:https://cloud.iocoder.cn/?code=p70 - [文档目录](docs/README.md) - [系统管理后台本地部署](docs/系统管理后台本地部署.md) - [老年健康系统迁移上下文](docs/芋道框架迁移上下文.md) + +## 本机启动(macOS / Linux) + +后端默认启用 `system`、`infra` 模块,使用 MySQL 和 Redis。先安装 Java 8/11/17、Maven、MySQL 8、Redis,以及 Node.js 18+ 和 pnpm 8。 + +```bash +cp deploy/local/.env.example deploy/local/.env +# 编辑 deploy/local/.env,至少填写 ELDER_DB_PASSWORD +deploy/local/initialize.sh +deploy/local/prepare-ui.sh +deploy/local/start.sh +deploy/local/start-ui.sh +deploy/local/check.sh +``` + +访问管理端 http://127.0.0.1:5173,接口文档 http://127.0.0.1:48080/doc.html。初始管理员为 `admin` / `admin123`。停止服务执行 `deploy/local/stop.sh`。Windows 可继续使用 `deploy/local/*.ps1`。 diff --git a/pom.xml b/pom.xml index cd7c9f3..663d7b2 100644 --- a/pom.xml +++ b/pom.xml @@ -16,7 +16,8 @@ yudao-module-system yudao-module-infra yudao-module-member - yudao-module-health + + diff --git a/yudao-server/pom.xml b/yudao-server/pom.xml index c227326..0aeea34 100644 --- a/yudao-server/pom.xml +++ b/yudao-server/pom.xml @@ -38,11 +38,12 @@ yudao-module-member-biz ${revision} - - cn.iocoder.boot - yudao-module-health-biz - ${revision} - + + + + + +