docs: 补充构建生产包的命令和部署文档
新增功能: - 添加 npm run clean 命令用于清理构建产物 - 添加 npm run build:prod 命令用于生产环境构建 - 添加 npm run start:prod 命令用于生产环境启动 - 更新 .gitignore 忽略更多文件(logs、测试覆盖率等) 新增文档: - 创建 DEPLOYMENT.md 部署文档,包含完整的部署指南 - PM2 进程管理配置 - Docker 容器化部署 - 环境变量配置 - 日志管理和数据备份 - 常见问题排查 文档更新: - 在 README.md 中添加"构建生产包"章节 - 列出所有可用的 NPM 脚本命令 - 说明构建流程和部署方式 - 添加详细的部署文档引用 这些改进使项目更容易部署到生产环境。 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ccf523543a
commit
f29dbc0118
5 files changed
+406
-3
No files matched your search
@@ -22,7 +22,9 @@
|
||||
"Bash(timeout:*)",
|
||||
"Bash(npx dotenv-cli -e .env -- npx tsx test-llm-trend.ts:*)",
|
||||
"Bash(npx dotenv-cli:*)",
|
||||
"mcp__plugin_serena_serena__read_file"
|
||||
"mcp__plugin_serena_serena__read_file",
|
||||
"Bash(npm run clean:*)",
|
||||
"Bash(git add:*)"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user