2021-04-06 16:32:23 +08:00
|
|
|
{$layout}
|
|
|
|
|
{$template "menu"}
|
2021-05-24 11:23:20 +08:00
|
|
|
{$template "/code_editor"}
|
2021-04-06 16:32:23 +08:00
|
|
|
|
|
|
|
|
<h3>安装步骤</h3>
|
|
|
|
|
<ol class="ui list">
|
|
|
|
|
<li>按照下面的配置信息替换<code-label>configs/api.yaml</code-label>内容</li>
|
|
|
|
|
<li>使用<code-label>bin/edge-monitor start</code-label>启动节点</li>
|
|
|
|
|
<li>可以在<code-label>logs/run.log</code-label>中查看启动是否有异常</li>
|
|
|
|
|
</ol>
|
|
|
|
|
|
|
|
|
|
<div class="ui divider"></div>
|
|
|
|
|
<h3>配置信息</h3>
|
|
|
|
|
<table class="ui table definition selectable">
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="title">configs/api.yaml<em><br/><download-link :v-element="'api-code'" :v-file="'api.yaml'">[下载]</download-link></em></td>
|
|
|
|
|
<td>
|
2021-05-24 11:23:20 +08:00
|
|
|
<source-code-box id="api-code" type="text/yaml">rpc:
|
2021-09-16 15:06:37 +08:00
|
|
|
endpoints: [ {{apiEndpoints}} ]
|
2021-04-06 16:32:23 +08:00
|
|
|
nodeId: "{{node.uniqueId}}"
|
2021-05-24 11:23:20 +08:00
|
|
|
secret: "{{node.secret}}"</source-code-box>
|
2021-04-06 16:32:23 +08:00
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|