This commit is contained in:
student_2333 2024-10-31 00:27:13 +08:00
parent bdba786cf1
commit 158cb33c21
No known key found for this signature in database
GPG Key ID: 665F083BEC56F2A6
2 changed files with 10 additions and 2 deletions

BIN
docs/assets/16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 376 KiB

View File

@ -13,8 +13,8 @@
> [!NOTE]
> 本人不喜欢 Conda 给系统上它的默认环境,所以下面不介绍如何使用 Conda
>
> 基于Anaconda虚拟环境可以参考[nailongremove部署教程](https://y0b8o2qjszv.feishu.cn/docx/GJ7ndJU2Aod6jtxpukXcA6etnyb)
>
> 基于 Anaconda 虚拟环境可以参考:[nailongremove 部署教程](https://y0b8o2qjszv.feishu.cn/docx/GJ7ndJU2Aod6jtxpukXcA6etnyb)
### Windows
@ -267,6 +267,14 @@ Linux 下也可以使用 `./#run.sh`
参考 [NoneBot 文档 DotEnv 配置 一节](https://nonebot.dev/docs/appendices/config#dotenv-%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6) 的文件格式,修改 `.env.prod` 文件即可
例:如果我想修改 `NAILONG_MODEL` 配置为 `1`,则在 `.env.prod` 配置中按如下格式修改
```properties
NAILONG_MODEL=1
```
![16](./assets/16.png)
### 更新插件
在 Bot 项目目录下打开命令行,之后执行下面命令即可