Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion manual/configuration/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,14 @@ MaiBot 支持通过 OpenIE 技术导入知识库。文件命名需以 `-openie.j
```ini
HOST=127.0.0.1
PORT=8000

# WebUI 配置
WEBUI_ENABLED=true
WEBUI_HOST=0.0.0.0
WEBUI_PORT=8001
WEBUI_MODE=production # 生产模式
```
.env文件中的这部分负责配置MaiBot监听的端口和地址
.env文件中的这部分负责配置MaiBot监听的地址和端口;以及webui的启用、监听的地址和端口、模式

## 常见问题

Expand Down
22 changes: 22 additions & 0 deletions manual/deployment/mmc_deploy_android.md
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,28 @@ python3 main.py
# 按 Ctrl+A 然后按 D 退出screen
```

### 使用社区管理脚本启动
作者:kanfandelong

脚本放置位置参考

```
../
├── MaiBot/
├── MaiBot-Napcat-Adapter/
├── maibot.sh
└── ...
```
#### 获取脚本并运行
```bash [apt]
#安装unbuffer和wget
sudo apt install expect wget
#下载管理脚本
wget https://github.com/kanfandelong/maimai_install/blob/main/maibot.sh
#运行管理脚本
bash maibot.sh
```

## 九、命令速查表

### 基础命令
Expand Down
20 changes: 20 additions & 0 deletions manual/deployment/mmc_deploy_linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,27 @@ source ../MaiBot/venv/bin/activate
python3 main.py
```

### 使用社区管理脚本启动
作者:kanfandelong

脚本放置位置参考

```
../
├── MaiBot/
├── MaiBot-Napcat-Adapter/
├── maibot.sh
└── ...
```
#### 获取脚本并运行
```bash [apt]
#安装unbuffer和wget
sudo apt install expect wget
#下载管理脚本
wget https://github.com/kanfandelong/maimai_install/blob/main/maibot.sh
#运行管理脚本
bash maibot.sh
```

## 命令速查表

Expand Down
5 changes: 4 additions & 1 deletion manual/usage/backup.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ MaiBot 文件夹结构:
```
MaiBot/
├── data/
├── plugins/
├── config/
│   ├── bot_config.toml
│ └── model_config.toml
Expand All @@ -21,7 +22,9 @@ MaiBot/
### 3. `model_config.toml`文件
- 用于存储调用的大模型信息,AI云服务提供商的KEY API
### 4. `.env` 文件
- 存储`maim_message`端口和地址。
- 存储MaiBot监听的地址和端口;以及webui的启用、监听的地址和端口、模式。
### 5. `plugins` 文件夹(可选)
- 存储MaiBot所有插件的本体,及其各自的配置文件和数据文件(如果有)

::: details 如果你使用的是低于0.7.0版本的MaiBot,那么点开这里
### MongoDB 数据库备份与恢复
Expand Down