Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
39 lines (30 sloc) 1013 Bytes
github-hook-server
==================
Toss your github pushes.. anywhere you want!
requirements
============
Base:
sudo gem install json sinatra simple-daemon
Twitter:
sudo gem install twitter
Basecamp:
sudo gem install tinder
instructions
============
cp config.yml.example config.yml
vim config.yml
./github-hook-server.rb [start|stop]
notes on the sendmail hook
==========================
I considered various options for sending email. Since I use Gmail and
wanted to keep the code as slim as possible, I chose at this stage to
opt for the path of least resistance and let the system MTA deal with
it. I use Postfix, which can be easily configured to relay through
the Gmail SMTP servers using this tutorial:
http://prantran.blogspot.com/2007/01/getting-postfix-to-work-on-ubuntu-with.html
I use Debian, and it worked perfectly for me.
credits
=======
To jnewland and jnunemaker for the ideas ;-)
- http://github.com/jnewland/github-campfire/
- http://github.com/jnunemaker/github-twitter/