Web 画布工具,用于与 CodeBuddy 开放平台交互。
codebuddy-app/ ├── frontend/ # 前端项目 (端口 3000) ├── backend/ # 后端服务 (端口 4000) ├── scripts/ # 运维脚本 └── .gitignore
cp backend/.env.example backend/.env
backend/.env 中的 OAuth 配置:OAUTH_ENV=production # 或 staging
# 启动所有服务 (默认 production 环境)
./scripts/start.sh
# 启动 staging 环境
./scripts/start.sh staging
# 停止服务
./scripts/stop.sh
# 重启服务
./scripts/restart.sh
# 查看状态
./scripts/status.sh
# 查看日志
./scripts/logs.sh
# 后端
cd backend && npm install && npm run dev
# 前端
cd frontend && npm install && npm run dev