Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 942 Bytes

README.md

File metadata and controls

34 lines (23 loc) · 942 Bytes

About

Accepts github PUSH requests with information about commits beeing pushed to repository and sends emails with diffs. May be run as Heroku app.

Installation

This app is built on top of Flask thus runs like a typical WSGI application.

The installation is simple:

# clone repository
git clone git://github.com/kalimatas/gitdiff.git

# make a virtual environment and activate it
virtualenv --distribute --system-site-packages venv
source venv/bin/activate

# install requirements
pip install -r requirements.txt

# copy sample config and edit it
cp config.example.yaml config.yaml 

If you use Heroku you can run a development server:

# starts a server at http://0.0.0.0:5000
foreman start

Usage

Add a webhook to your Github repository as described here and point it to your running app.