Remotely `git pull` with Github webhooks
CoffeeScript JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
src
.gitignore
README.markdown
main.js
package.json

README.markdown

Hazpush

A nodejs app to git pull on a remote server.

Installation

npm install -g hazpush

Usage

Configure your github credentials and server port/hostname

hazpush setup

Now, go ahead and add the server repo to be watched

hazpush add /var/www/someWebApp

Time to start the server and have it pull automagically

hazpush server start

What happened to the post-pull hooks?

Well, those can be accomplished by setting up a post-merge hook.

Configuration

If you want to put HazPush behind a webserver like Nginx or Apache HTTPD, you can specify the port the webserver listens on independently of the port the HazPush server listens on with the "listenPort" configuration option.