From c5547ea63420b511bdb32341ab815cf7fe3a8634 Mon Sep 17 00:00:00 2001 From: Byseven <38542005+Fansirsqi@users.noreply.github.com> Date: Wed, 15 May 2024 09:07:51 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9A=E6=B7=BB=E5=8A=A0=E4=B9=9F?= =?UTF-8?q?=E8=AE=B8=E4=B8=8D=E6=98=AF=E5=BE=88=E8=A7=84=E8=8C=83=E7=9A=84?= =?UTF-8?q?=E9=83=A8=E7=BD=B2=E6=96=87=E6=A1=A3=E9=83=A8=E7=BD=B2=E6=96=87?= =?UTF-8?q?=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/README.md b/README.md index 5abe714..d46b6a5 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,38 @@ + +## 如何使用本仓库内容 + +在青龙创建一个订阅 + +拉库命令 `ql repo https://github.com/Fansirsqi/dailycheckin.git null null null main` + +配置执行后运行的命令 +`pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple && pip install requests pycrypto pycryptodome && cd /ql/data/repo/Fansirsqi_dailycheckin_main && python setup.py develop` + +在脚本管理根目录创建`config.json`配置文件可以参考官方配置,这里只是增加了一段 + +[配置示例](https://gist.githubusercontent.com/Fansirsqi/9e238bb3e432fdb7bee1caa46da81519/raw/5a7d599b526564c68b0120e9a275ce6f414757df/config.json) + +``` +, + "TESTNOTICE": [ + { + "test1": "test1mesg" + } + ] +``` +强烈建议您在`https://www.json.cn/`这个网站检查您的配置 + +最后在定时任务里创建一个测试任务 + +`task dailycheckin --include TESTNOTICE`运行并查看日志 + +![1715763862230.png](https://pic2.ziyuan.wang/user/fansir/2024/05/1715763862230_5344cb6724871.png) + +![1715763931708.png](https://pic2.ziyuan.wang/user/fansir/2024/05/1715763931708_ec7c766df87c4.png) + ## ✨ 特性 - 📦 支持 Pypi 包安装