From ad4f832524ca98bf2f5d349a01991dcd0bb3feb5 Mon Sep 17 00:00:00 2001 From: gongzhiyong Date: Tue, 14 Apr 2026 02:47:07 +0800 Subject: [PATCH] chore: add .omc to .gitignore and update deploy command in CLAUDE.md --- .gitignore | 6 +++++- CLAUDE.md | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index f650315..f3c9729 100644 --- a/.gitignore +++ b/.gitignore @@ -24,4 +24,8 @@ yarn-error.log* # typescript *.tsbuildinfo -next-env.d.ts \ No newline at end of file +next-env.d.ts + +# OMC state files (Claude Code internal) +.omc/ +langgraph/.omc/ \ No newline at end of file diff --git a/CLAUDE.md b/CLAUDE.md index 9dc706e..43060dc 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -10,7 +10,7 @@ so-c-chat-clone — 企业级对话系统,基于 LangGraph.js Gen-UI 架构。 - **开发机**: `sshpass -p xiaohei ssh xiaohei@192.168.30.30`(sudo 密码同) - **项目路径**: `~/SOC/` -- **Docker 部署**: `cd ~/SOC && make dev` +- **Docker 部署**: `cd ~/SOC && docker compose --profile dev up -d --build` - **代码同步**: 本地 `git push gitee main` → 开发机 `cd ~/SOC && git pull origin main` - **Gitee 仓库**: `http://gitee.ath.cx:3000/xiaohei/socaichat.git`(用户: xiaohei, 密码: By@123456) @@ -29,7 +29,7 @@ pnpm run build # tsc -b && vite build(前端) 开发机一键重启: ```bash -sshpass -p xiaohei ssh xiaohei@192.168.30.30 "cd ~/SOC && make dev" +sshpass -p xiaohei ssh xiaohei@192.168.30.30 "cd ~/SOC && docker compose --profile dev up -d --build" ``` ## Architecture