Python Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
.pyup.yml
README.md
botlib.py
crontab
kick-off-payday.py
requirements.txt
update-if-needed.sh
update.sh

README.md

Gratipay Bot!

This repo holds the source code for @gratipay-bot.

What does Gratipay Bot do?

Gratipay Bot kicks off new project review tickets.

Gratipay Bot kicks off payday each Thursday with a new ticket, copying the description from the previous week.

Deployment

Here's how we install Gratipay Bot on a fresh Ubuntu 14.04 server at Digital Ocean:

apt-get update

apt-get install unattended-upgrades
dpkg-reconfigure unattended-upgrades

apt-get install git
git clone https://github.com/gratipay/bot.git
cd bot

apt-get install python3.4-venv
python3 -m venv env
env/bin/pip install --upgrade pip

./update.sh

Configuration lives in /etc/environment:

GITHUB_REPO=gratipay/inside.gratipay.com
GITHUB_USERNAME=gratipay-bot
GITHUB_PASSWORD=deadbeef-a-personal-security-token

Note that Gratipay Bot kicks off team review tickets from inside the web app.