0.1.6 • Published 8 years ago

node-pull v0.1.6

Weekly downloads
1
License
ISC
Repository
-
Last release
8 years ago

node-pull

Dead simple git pull interface for express using nodemon.

Installation

$ npm install node-pull

Quick Start

Start nodemon to restart your process on changes.

$ nodemon -e js,html,css,json

Integrate node-pull

var express = require('express'),
    nodepull = require('node-pull');

var app = express()
nodepull(app);

app.listen(3000)

Then call

http://localhost:3000/gitpull

And input swordfish ;)

Options

password

Change default password

...
nodepull(app, { password : '#secret#magnets#!'});

root

In case your project root is not the repos root.

...
nodepull(app, { root : 'somepath/things/yourprojectroot/'});

License

MIT

0.1.6

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

9 years ago

0.1.0

9 years ago