mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-03-18 12:40:06 +08:00
docs: update deploy part in readme
This commit is contained in:
@@ -119,9 +119,9 @@ python3 app.py
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
touch nohup.out # 首次运行需要新建日志文件
|
touch nohup.out # 首次运行需要新建日志文件
|
||||||
nohup python3 app.py & tail -f nohup.out # 后台运行程序并输出日志
|
nohup python3 app.py & tail -f nohup.out # 在后台运行程序并通过日志输出二维码
|
||||||
```
|
```
|
||||||
同样在扫码后程序即可成功运行于服务器后台。
|
扫码登录后程序即可运行于服务器后台,此时可通过 `ctrl+c` 关闭日志,不会影响后台程序的运行。使用 `ps -ef | grep app.py | grep -v grep` 命令可查看运行于后台的进程,如果想要重新启动程序可以先 `kill` 掉对应的进程。日志关闭后如果想要再次打开只需输入 `tail -f nohup.out`。
|
||||||
|
|
||||||
## 常见问题
|
## 常见问题
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user