⬆️ 更新 QChatGPT 到最新版本的方法 #595
Closed
RockChinQ
started this conversation in
Show and tell
Replies: 1 comment
-
已弃用,请查看文档部署方式。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
命令更新
若 QChatGPT 正常运行,可直接以管理员账号向机器人发送以下命令进行自动更新:
若提示更新失败,请尝试重启,重启后仍无法使用的,可查阅 Issues 页面,或使用下方手动更新方式。
手动更新
不同的部署方式具有不同的更新步骤,请根据您的部署方式选择
Docker 部署
拉取最新镜像,删除原容器,创建新的容器并启动。
手动部署
从 Releases 页面下载源码的
从 Releases 页面下载最新源码,解压覆盖原代码目录中的文件。
Git Clone 源码的
到 QChatGPT 目录中执行
完成源码获取后,请执行
pip install -r requirements.txt
以确保所需依赖均安装完成。安装器部署
从本项目 Releases 页面中下载最新版本源码,解压覆盖原代码目录文件。
接下来,在 QChatGPT 文件夹的同目录(不是main.py的同目录),从
python
目录下找到python可执行文件
(如windows下是python\python.exe
)打开系统命令行或终端,执行以下命令:一键部署包
请咨询一键部署包发行者。
Beta Was this translation helpful? Give feedback.
All reactions