修改readme

This commit is contained in:
sftang
2022-03-08 15:53:51 +08:00
parent 765e60f5e7
commit ec5f9cbd78

View File

@@ -3,12 +3,26 @@
由于涉及ocr本地验证,因此docker镜像相对比较大。
docker部署
```shell
docker pull xingsu1021/pthelper
```
本地部署需要Python3.9+
```shell
pip install --no-cache-dir -r requirements.txt -i https://pypi.mirrors.ustc.edu.cn/simple/
```
# v1.0 说明
1、支持签到功能
2、支持配置导出导入
3、支持签到信息发送IYUU,Telegram,邮箱
## 支持站点
站点 | 签到支持|
--- |--- |
红豆饭(hdfans) | ✔
@@ -52,47 +66,71 @@ A-SOUL(asf) | ✔
海带(hd) | ✘
海豹(greatposterwall) | ✘
## 暂时不支持站点
站点 |
--- |
馒头 |
## 已知问题站点
站点 |--- |
--- |--- |
学校(btschool) | ✔
## 截图
1. IYUU
![](https://gcore.jsdelivr.net/gh/xingsu1021/pthelper@master/static/screenshot/iyuu.png)
2. Telegram
![](https://gcore.jsdelivr.net/gh/xingsu1021/pthelper@master/static/screenshot/tg.png)
3. 邮箱
![](https://gcore.jsdelivr.net/gh/xingsu1021/pthelper@master/static/screenshot/mail.png)
4. 补签
![](https://gcore.jsdelivr.net/gh/xingsu1021/pthelper@master/static/screenshot/buqian.png)
1. IYUU
![](https://raw.githubusercontent.com/xingsu1021/pthelper/master/static/screenshot/iyuu.png)
2. Telegram
![](https://raw.githubusercontent.com/xingsu1021/pthelper/master/static/screenshot/tg.png)
3. 邮箱
![](https://raw.githubusercontent.com/xingsu1021/pthelper/master/static/screenshot/mail.png)
4. 补签
![](https://raw.githubusercontent.com/xingsu1021/pthelper/master/static/screenshot/buqian.png)
# docker-compose.yml
```dockerfile
version: '3.7'
services:
flexget:
image: pthelper:v1.0
container_name: pthelper
restart: always
volumes:
- /home/data/docker-compose/pthelper/db:/db
- /home/data/docker-compose/pthelper/logs:/logs
- /home/data/docker-compose/pthelper/backups:/backups
ports:
- "58000:80"
```
## 感谢
带带弟弟OCR通用验证码识别:https://github.com/sml2h3/ddddocr
爱语飞飞:https://iyuu.cn
https://github.com/ledccn/IYUUPlus
PTPP:https://github.com/ronggang/PT-Plugin-Plus
PTPP增强版:白大版PTPP@菩提蛋(没找到仓库:()
**带带弟弟OCR通用验证码识别:<https://github.com/sml2h3/ddddocr>
** 爱语飞飞:<https://iyuu.cn>
**<https://github.com/ledccn/IYUUPlus>
** PTPP:<https://github.com/ronggang/PT-Plugin-Plus>
** PTPP增强版:白大版PTPP@菩提蛋(没找到仓库:()
## 以下忽略,只做个人记录
以下忽略,只做个人记录
-------------------------------------------------------------
# 本地启动测试命令
python manage.py runserver --settings=pthelper.local_settings
# 编译镜像
docker build -t pthelper:v1.0 .
# py文件编译pyc
python -O -m compileall -b .
# 上传镜像
docker commit 4f7d7c5a8b58 xingsu1021/pthelper:latest
docker push xingsu1021/pthelper
docker push xingsu1021/pthelper