From 4d2d388f18e3faded906d6fde58d9ab98406a376 Mon Sep 17 00:00:00 2001 From: loren Date: Fri, 30 Jan 2026 10:05:38 +0800 Subject: [PATCH] =?UTF-8?q?docs:=E6=9B=B4=E6=96=B0=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 39b2a11..8092295 100644 --- a/README.md +++ b/README.md @@ -126,9 +126,10 @@ curl -u username:password https://jira.example.com/rest/api/2/issue/TEST-1/trans ### 第四步:启动服务 -#### 4.1 直接运行 +#### 4.1 使用PM2运行 ```bash -node index.js +npm install -g pm2 +pm2 start index.js --name gitea-jira-sync ``` 输出示例: @@ -372,16 +373,13 @@ gitea-jira-sync/ │ ├── syncManager.js - Gitea->Jira同步管理 │ └── jiraSyncManager.js - Jira->Gitea同步管理 ├── routes/ - 路由模块 - │ └── editor.js - 配置编辑器路由 + │ └── control.js - 配置编辑器路由 ├── services/ - 第三方API服务 │ ├── gitea.js - Gitea API客户端 │ └── jira.js - Jira API客户端 └── utils/ - 工具函数 ├── logger.js - 日志模块 - ├── circuitBreaker.js - 熔断器实现 - └── tests_created_by_claude/ - ├── cleanup-test-issues.js - └── comprehensive-test.js + └── circuitBreaker.js - 熔断器实现 ``` ## 技术栈