From ba5b36b3461edfc52d6812cb616cb11819630ed5 Mon Sep 17 00:00:00 2001 From: lapuda <577732344@qq.com> Date: Wed, 15 Jul 2026 15:14:25 +0800 Subject: [PATCH] update --- .gitignore | 3 ++- buildAndStart-test.sh | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index d422bc9..a4144a7 100644 --- a/.gitignore +++ b/.gitignore @@ -52,9 +52,10 @@ nbdist/ # Local application runtime files .local/ +/logs/* # opencode configuration (skills, agents, etc.) .opencode/ local.sh -.claude \ No newline at end of file +.claude diff --git a/buildAndStart-test.sh b/buildAndStart-test.sh index 382748b..ad28aa6 100755 --- a/buildAndStart-test.sh +++ b/buildAndStart-test.sh @@ -10,6 +10,8 @@ # ./buildAndStart-test.sh stop # ./buildAndStart-test.sh logs # +# deploy/start 成功后会自动跟踪后端日志;按 Ctrl+C 退出日志跟踪,不会停止后端进程。 +# # 可通过环境变量覆盖默认配置,例如: # PROFILE=test MAVEN_BIN=/opt/apache-maven-3.9.9/bin/mvn ./buildAndStart-test.sh @@ -263,6 +265,7 @@ deploy() { build_app start_app __green "部署完成。日志文件: $LOG_FILE" + logs } status() {