The standalone server is the preferred method for local development and testing. For standalone deployment, Docker is recommended versus manually following the below instructions.
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.
Run the following:
yarn
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.