From a23c575eff3f9c7bf296c29c7b34eacc2a7482f6 Mon Sep 17 00:00:00 2001 From: cyw3 <2927096163@qq.com> Date: Mon, 15 Jul 2024 17:13:42 +0800 Subject: [PATCH 1/2] :memo: update enhance deploy md Signed-off-by: cyw3 <2927096163@qq.com> --- doc/en/quickStarted/enhanceDeploy.md | 2 +- doc/zh/quickStarted/enhanceDeploy.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/en/quickStarted/enhanceDeploy.md b/doc/en/quickStarted/enhanceDeploy.md index 68169eb66..4f085d0c2 100644 --- a/doc/en/quickStarted/enhanceDeploy.md +++ b/doc/en/quickStarted/enhanceDeploy.md @@ -99,7 +99,7 @@ Different deployment methods can modify the `config.ini` configuration according - Application scenario - (4) Then wait for the application license to be reviewed and approved, you can copy the private cloud license and continue with the following step 4. -4. After receiving the reply email from the TCA team, fill in the License in the `config.yaml` file in the CLS directory +4. Fill in the License in the `config.yaml` file in the CLS directory ::: warning Note: Follow the yaml format, for example: diff --git a/doc/zh/quickStarted/enhanceDeploy.md b/doc/zh/quickStarted/enhanceDeploy.md index 18c8707ab..abfa5d074 100644 --- a/doc/zh/quickStarted/enhanceDeploy.md +++ b/doc/zh/quickStarted/enhanceDeploy.md @@ -85,7 +85,7 @@ LICENSE= - 重启容器方式:`docker-compose restart client` ::: -3. 在 TCA 云官网上提交私有云 License 申请 +3. 在 TCA 云官网上提交私有云 License 申请 - (1) 在 [TCA 云官网](https://tca.tencent.com/)上注册或登录账号; - (2) 进入需要申请私有云 License 申请的团队(如果没有的话需要创建对应团队); - (3) 在团队页面上,依次进入【节点管理】->【私有云 License 配置】页面,然后点击右上角的【申请License】按钮,填写相关信息即可提交申请。具体的信息内容如下: @@ -99,7 +99,7 @@ LICENSE= - 应用场景 - (4) 然后等待申请License审核通过,即可拷贝出该私有云 License 继续进行下面第4步的操作。 -4. 收到 TCA 团队回复邮件之后,在 CLS 目录下的 [`config.yaml`](https://github.com/Tencent/CodeAnalysis/blob/main/server/cls/config.yaml) 文件中填写License +4. 在 CLS 目录下的 [`config.yaml`](https://github.com/Tencent/CodeAnalysis/blob/main/server/cls/config.yaml) 文件中填写License ::: warning 注意:遵从 yaml 格式,比如: From 4ad73c67451cce98c20da1bdfb3f77520853a97b Mon Sep 17 00:00:00 2001 From: cyw3 <2927096163@qq.com> Date: Mon, 15 Jul 2024 17:25:07 +0800 Subject: [PATCH 2/2] :memo: update enhanced deploy md with git lfs Signed-off-by: cyw3 <2927096163@qq.com> --- doc/en/quickStarted/enhanceDeploy.md | 2 ++ doc/zh/quickStarted/enhanceDeploy.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/doc/en/quickStarted/enhanceDeploy.md b/doc/en/quickStarted/enhanceDeploy.md index 4f085d0c2..3a7caf334 100644 --- a/doc/en/quickStarted/enhanceDeploy.md +++ b/doc/en/quickStarted/enhanceDeploy.md @@ -43,6 +43,8 @@ If you are using TCA in an enterprise intranet environment and want to experienc ::: ```shell +# install Git LFS +$ bash ./scripts/base/install_git_lfs.sh # If the cls binary is not found in this directory, you can execute the following command to synchronize. $ bash ./scripts/base/install_bin.sh $ cd server/cls diff --git a/doc/zh/quickStarted/enhanceDeploy.md b/doc/zh/quickStarted/enhanceDeploy.md index abfa5d074..5233ceaeb 100644 --- a/doc/zh/quickStarted/enhanceDeploy.md +++ b/doc/zh/quickStarted/enhanceDeploy.md @@ -43,6 +43,8 @@ TCA 增强分析模块,需要用户额外部署 License 鉴权微服务,并 ::: ```shell +# 安装 Git LFS +$ bash ./scripts/base/install_git_lfs.sh # 如果在该目录下没有找到 cls 二进制文件,可以执行以下命令进行同步 $ bash ./scripts/base/install_bin.sh $ cd server/cls