Skip to content

Commit

Permalink
docs: console usage
Browse files Browse the repository at this point in the history
  • Loading branch information
wibus-wee committed Jan 22, 2023
1 parent 61e7ca1 commit d07593a
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,15 @@ export default defineConfigWithTheme<Config>({
},
],
},
{
text: '使用指南',
items: [
{
text: '使用内置控制台',
link: '/usage/console',
},
],
},
{
text: '开发者',
items: [
Expand Down
21 changes: 21 additions & 0 deletions src/usage/console.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# 使用内置控制台

我们在 [mogland/core #604](https://github.com/mogland/core/pull/604) 中添加了一个内置控制台的功能,这个功能可以让你在不另外部署控制台的情况下,控制你的服务。

## 基础使用

由于此项功能仍处于测试阶段,因此我们默认暂时设置为关闭状态,你可以在你的启动配置文件中中设置 `console.enable``true` 来启用此功能。

```yaml
console:
enable: false
```
我们还提供了其他一些配置项,如 `console.versionType`,你可以在 [配置](/config/) 中查看更多信息。

接下来,访问 `<CORE_URL>/console`,你将会进入到控制台:


::: tip
如果你还未注册,控制台将会自动跳转至注册页面。若你已经注册且已登录,但仍然无法访问控制台主页,请检查你的服务是否出现了问题。
:::

0 comments on commit d07593a

Please sign in to comment.