Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 820 Bytes

standalone.md

File metadata and controls

41 lines (30 loc) · 820 Bytes

Standalone Server

The standalone server is the preferred method for local development and testing. For standalone deployment, Docker is recommended versus manually following the below instructions.

Recommended Configuration

In config.yml:

queue:
  type: memory

datastore:
  type: nedb
  config:
    dir: /path/to/a/data/directory

Note that the usual other config entries (github, git, tokens, etc) are still required in addition to the above.

Building

Run the following:

yarn

Running

node build/server.js

The server will start on port 3000. The REST-ish interface and webhook handlers are both exposed on the same / endpoint and will automatically do The Right Thing (tm) based on the X-GitHub-Event header and provided token/signature.