Skip to content

Commit

Permalink
docs:增加微信自定义路径的方法
Browse files Browse the repository at this point in the history
  • Loading branch information
xieyumc committed Nov 6, 2024
1 parent 45c938e commit d8825a2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,22 +114,25 @@

# 2. 部署服务端

**为了简化服务端配置,请把微信安装在`C:/Program Files/Tencent/WeChat/WeChat.exe`,这个位置是默认的微信安装位置**
## 前言

⚠️如果你微信安装在其他地方,启动服务端后,
**为了简化服务端配置,请把微信安装在`C:/Program Files/Tencent/WeChat/WeChat.exe`,这个位置是微信默认的安装位置**

请访问`http://127.0.0.1:8000/admin/wechat_app/wechatconfig/1/change/` ,用户名
`admin`,密码`tykWyr-bepqu6-fafvym`
,手动修改微信的安装位置

**注意windows的路径分隔符是`\`,但是在python中`\`是转义字符,所以需要用`/`代替,例如**
> 如果你微信安装在其他地方,请使用源码部署,然后运行服务器后:
> 访问`http://127.0.0.1:8000/admin/wechat_app/wechatconfig/1/change/` ,用户名`admin`,密码`tykWyr-bepqu6-fafvym`
> ,手动修改微信的安装位置
> **注意windows的路径分隔符是`\`,但是在python中`\`是转义字符,所以需要用`/`代替,例如**
```
Windows资源管理器复制出来文件路径是:`C:\Program Files\Tencent\WeChat\WeChat.exe`
但是在后台中需要写成:`C:/Program Files/Tencent/WeChat/WeChat.exe
```

> 保存好之后你可以运行`pyinstaller YuYuWechatV2_Server.spec`重新编译服务端为EXE,然后部署到服务器上
## 使用编译后EXE直接部署(推荐)

- 在release界面找到最新的版本,下载`YuYuWechatV2_Server.exe``YuYuWechatV2_Server_run.bat`
Expand Down
Binary file modified YuYuWechatV2_Server/db.sqlite3
Binary file not shown.

0 comments on commit d8825a2

Please sign in to comment.