Skip to content

Commit

Permalink
up README
Browse files Browse the repository at this point in the history
  • Loading branch information
lejianwen committed Sep 26, 2024
1 parent 7ae976e commit 8c97cc8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,7 @@

### Web Admin:

**
*使用前后端分离,提供用户友好的管理界面,主要用来管理和展示。前端代码在[rustdesk-api-web](https://github.com/lejianwen/rustdesk-api-web)
***
***使用前后端分离,提供用户友好的管理界面,主要用来管理和展示。前端代码在[rustdesk-api-web](https://github.com/lejianwen/rustdesk-api-web)***

***后台访问地址是`http://<your server>[:port]/_admin/`初次安装管理员为用户名密码为`admin` `admin`,请即时更改密码***

Expand Down Expand Up @@ -118,7 +116,9 @@

### 相关配置

* 参考`conf/config.yaml`配置文件,修改相关配置。如果`gorm.type``sqlite`,则不需要配置mysql相关配置。
* 参考`conf/config.yaml`配置文件,修改相关配置。
* 如果`gorm.type``sqlite`,则不需要配置mysql相关配置。
* 语言如果不设置默认为`zh-CN`

```yaml
lang: "en"
Expand Down
6 changes: 4 additions & 2 deletions README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,9 @@ installation are `admin` `admin`, please change the password immediately.***

### Configuration

* Modify the configuration in `conf/config.yaml`. If `gorm.type` is set to `sqlite`, MySQL-related configurations are
not required.
* Modify the configuration in `conf/config.yaml`.
* If `gorm.type` is set to `sqlite`, MySQL-related configurations are not required.
* Language support: `en` and `zh-CN` are supported. The default is `zh-CN`.

```yaml
lang: "en"
Expand Down Expand Up @@ -184,6 +185,7 @@ rustdesk:
```bash
docker run -d --name rustdesk-api -p 21114:21114 \
-v /data/rustdesk/api:/app/data \
-e RUSTDESK_API_LANG=en \
-e RUSTDESK_API_RUSTDESK_ID_SERVER=192.168.1.66:21116 \
-e RUSTDESK_API_RUSTDESK_RELAY_SERVER=192.168.1.66:21117 \
-e RUSTDESK_API_RUSTDESK_API_SERVER=http://192.168.1.66:21114 \
Expand Down

0 comments on commit 8c97cc8

Please sign in to comment.