tldr-bot:一个简单的bot,可以在主tldr存储库上执行自动化任务

时间:2021-01-30 07:10:27
【文件属性】:
文件名称:tldr-bot:一个简单的bot,可以在主tldr存储库上执行自动化任务
文件大小:10KB
文件格式:ZIP
更新时间:2021-01-30 07:10:27
bot automation continuous-integration tldr ContinuousintegrationPython 机器人 一个简单的 ,可以在主上执行自动化任务。 快速开始 首先,设置所需的环境变量: FLASK_APP=/path/to/app/tldr_bot.py BOT_TOKEN= REPO_SLUG=tldr-pages/tldr PORT= 然后使用Flask运行: flask run --port=$PORT 作为服务运行 有关系统单元配置示例,请参见文件。 通常,该服务在uWSGI下运行,并以nginx开头。 因此,您还需要设置适当的nginx配置。 location / { include uwsgi_params; uwsgi_pass 127.0.0.1:6129; }
【文件预览】:
tldr-bot-master
----.gitignore(829B)
----requirements.txt(21B)
----tldr-bot.service(485B)
----LICENSE(1KB)
----tldr-bot.svg(534B)
----tldr_bot.py(2KB)
----README.md(730B)
----tldr-bot.png(6KB)

网友评论