mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-03 20:40:26 +08:00
32 lines
1.0 KiB
HTML
32 lines
1.0 KiB
HTML
{$layout}
|
|
{$template "menu"}
|
|
{$template "/code_editor"}
|
|
|
|
<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>
|
|
<li>配置修改后,使用<code-label>bin/edge-monitor restart</code-label>重启节点</li>
|
|
</ol>
|
|
|
|
<div class="ui divider"></div>
|
|
<h3>配置信息</h3>
|
|
<table class="ui table definition selectable">
|
|
<tr>
|
|
<td class="title">配置文件</td>
|
|
<td>
|
|
configs/api.yaml <download-link :v-element="'api-code'" :v-file="'api.yaml'">[下载]</download-link>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="title">配置内容</td>
|
|
<td>
|
|
<source-code-box id="api-code" type="text/yaml">rpc:
|
|
endpoints: [ {{apiEndpoints}} ]
|
|
nodeId: "{{node.uniqueId}}"
|
|
secret: "{{node.secret}}"</source-code-box>
|
|
</td>
|
|
</tr>
|
|
</table>
|