Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tldr-pages/tldr-bot
A simple bot that performs automation tasks on the main tldr repo
https://github.com/tldr-pages/tldr-bot
automation bot continuous-integration tldr
Last synced: 18 days ago
JSON representation
A simple bot that performs automation tasks on the main tldr repo
- Host: GitHub
- URL: https://github.com/tldr-pages/tldr-bot
- Owner: tldr-pages
- License: mit
- Created: 2017-04-27T18:28:04.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-12-01T17:42:06.000Z (almost 5 years ago)
- Last Synced: 2024-04-16T09:05:35.147Z (7 months ago)
- Topics: automation, bot, continuous-integration, tldr
- Language: Python
- Homepage: https://github.com/tldr-bot
- Size: 18.6 KB
- Stars: 28
- Watchers: 8
- Forks: 8
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
tldr-bot
========A simple [bot](https://github.com/tldr-bot) that performs automation tasks on the main [tldr repo](https://github.com/tldr-pages/tldr).
Quick start
-----------First of all, set the needed environment variables:
FLASK_APP=/path/to/app/tldr_bot.py
BOT_TOKEN=
REPO_SLUG=tldr-pages/tldr
PORT=Then run using Flask:
flask run --port=$PORT
Run as a service
----------------See the [`tldr-bot.service`](/tldr-bot.service) file for an example systemd unit configuration.
Typically, the service is running under uWSGI and fronted by nginx. So you need to set the proper nginx config too.
location / {
include uwsgi_params;
uwsgi_pass 127.0.0.1:6129;
}