From 38c5d045d85d522abbbcdd7e1921f72d28b21a0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B7=B4=E6=8B=89=E8=BF=AA=E7=BB=B4?= Date: Wed, 15 Sep 2021 14:46:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20ReadMe=EF=BC=9A=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E8=BF=90=E8=A1=8C=E6=96=B9=E5=BC=8F=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 8cf5ad4..0762f14 100644 --- a/README.md +++ b/README.md @@ -22,4 +22,14 @@ 3. 在本地分支修改任务并推送到自己名下的仓库 4. 在 [仓库首页](https://forgeplus.trustie.net/projects/Gitlink/gitlink-notification-system) 触发 pull request 并等待审核处理 +### 使用 Docker 运行 +1. git pull 拉取本仓库并保存到本地 +2. 下载并安装 [Docker Engine](https://docs.docker.com/engine/install/) +3. 配置好 Java 环境以及 Maven 环境 (Java 8 版本以上、Maven 3 版本以上) +4. 进入到仓库根目录下的 `{repo}/middleware` 目录并执行 `start_docker_compose.sh` 脚本 +5. 浏览器访问 + 1. 数据推送相关接口:http://localhost:58082/doc.html + 2. 数据读取相关接口:http://localhost:58080/doc.html +6. 停止 Docker 时环境时请执行 `{repo}/middleware/end_docker_compose.sh` 脚本 +