tech-angels / npmhooks.org

/!\ DISCONTINUED /!\ Project to add Rubygem-like webhooks to NPM.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

npmhooks.org

Dependency Status Build Status

Project to add Rubygem-like webhooks to NPM.

Requirements

  • Redis

Application configs

The application.yml file must be configured as follows (sample here):

  • SECRET_TOKEN: The application's config.secret_token. This is for Rails signed cookies.
  • NPM_DATABASE_URL: The url to access NPM's CouchDB.
  • REDIS_HOST and REDIS_PORT: The host and port of the Redis server.
  • GITHUB_KEY and GITHUB_SECRET: The GitHub application credentials that are used for OAuth.

Daemons

  • rake npm_monitor:start: This daemon is responsible for monitoring the NPM database for package changes and will schedule the webhooks in Resque.
  • rake requeue: Resque workers to send out the webhooks.

API documentation

The API documentation to schedule webhooks is currently available in the homepage view.

About

/!\ DISCONTINUED /!\ Project to add Rubygem-like webhooks to NPM.


Languages

Language:Ruby 86.9%Language:HTML 9.1%Language:CSS 3.0%Language:JavaScript 0.9%Language:CoffeeScript 0.1%