File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -81,21 +81,32 @@ tommyzhang@tencent.com
8181| 首次登记的机器码 | xxx |
8282| 体验申请用途 | xxx |
8383
84- 4 . 收到 TCA 团队回复邮件之后,在 CLS 目录下的[ ` config.yaml ` ] ( https://github.com/Tencent/CodeAnalysis/blob/main/server/cls/config.yaml ) 文件中填写License
84+ 4 . 收到 TCA 团队回复邮件之后,在 CLS 目录下的 [ ` config.yaml ` ] ( https://github.com/Tencent/CodeAnalysis/blob/main/server/cls/config.yaml ) 文件中填写License
8585
8686::: warning
87- 注意:遵从yaml格式,
88- 比如:
89- - 键值对中,冒号 ` : ` 后面跟一个空白字符,示例 ` key: value ` .
87+ 注意:遵从 yaml 格式,比如:
88+ - 键值对中,冒号 ` : ` 后面跟一个空白字符,示例 ` key: value ` 。
9089:::
9190
92- 5 . 执行以下命令启动CLS
91+ 5 . 执行以下命令启动 CLS
9392
9493``` shell
9594./cls server -d
9695```
9796
98- 6 . 启动 TCA 分析任务
97+ 6 . 验证 CLS 进程正常启动
98+
99+ ``` bash
100+ # 查找是否存在CLS进程
101+ ps aux| grep cls
102+ ```
103+
104+ ::: warning
105+ 注意:如果以上命令没有发现 CLS 的进程,则说明 CLS 没有正常启动。
106+ 请尝试更改 [ ` config.yaml ` ] ( https://github.com/Tencent/CodeAnalysis/blob/main/server/cls/config.yaml ) 文件中的 port 为其他 port,比如8080,目前默认是80端口,然后重新执行步骤5的命令。
107+ :::
108+
109+ 7 . 启动 TCA 分析任务
99110在 TCA 平台的分析方案里面勾选独立工具相关的规则包,比如依赖组件分析规则包,然后启动一次分析任务,执行正常则表明设置生效。
100111
101112### CLS 运维
Original file line number Diff line number Diff line change @@ -81,21 +81,32 @@ tommyzhang@tencent.com
8181| 首次登记的机器码 | xxx |
8282| 体验申请用途 | xxx |
8383
84- 4 . 收到 TCA 团队回复邮件之后,在 CLS 目录下的[ ` config.yaml ` ] ( https://github.com/Tencent/CodeAnalysis/blob/main/server/cls/config.yaml ) 文件中填写License
84+ 4 . 收到 TCA 团队回复邮件之后,在 CLS 目录下的 [ ` config.yaml ` ] ( https://github.com/Tencent/CodeAnalysis/blob/main/server/cls/config.yaml ) 文件中填写License
8585
8686::: warning
87- 注意:遵从yaml格式,
88- 比如:
89- - 键值对中,冒号 ` : ` 后面跟一个空白字符,示例 ` key: value ` .
87+ 注意:遵从 yaml 格式,比如:
88+ - 键值对中,冒号 ` : ` 后面跟一个空白字符,示例 ` key: value ` 。
9089:::
9190
92- 5 . 执行以下命令启动CLS
91+ 5 . 执行以下命令启动 CLS
9392
9493``` shell
9594./cls server -d
9695```
9796
98- 6 . 启动 TCA 分析任务
97+ 6 . 验证 CLS 进程正常启动
98+
99+ ``` bash
100+ # 查找是否存在CLS进程
101+ ps aux| grep cls
102+ ```
103+
104+ ::: warning
105+ 注意:如果以上命令没有发现 CLS 的进程,则说明 CLS 没有正常启动。
106+ 请尝试更改 [ ` config.yaml ` ] ( https://github.com/Tencent/CodeAnalysis/blob/main/server/cls/config.yaml ) 文件中的 port 为其他 port,比如8080,目前默认是80端口,然后重新执行步骤5的命令。
107+ :::
108+
109+ 7 . 启动 TCA 分析任务
99110在 TCA 平台的分析方案里面勾选独立工具相关的规则包,比如依赖组件分析规则包,然后启动一次分析任务,执行正常则表明设置生效。
100111
101112### CLS 运维
You can’t perform that action at this time.
0 commit comments