Skip to content

csexton/pronto-server

Repository files navigation

Pronto Server

Simple Sinatra app that will run Pronto on GitHub Pull Requests.

Instructions

For instructions on setting up the webhooks and admin settings see INSTRUCTIONS.md

Deploy to Heroku

Deploy

Development

Prerequisites

(or use brew bundle if you are on macOS)

To setup the local enviroment:

cp .env-example .env
./bin/bundle

Then run the webserver and sidekiq worker processes:

foreman start

Configuration

All configuration is done through environment variables. Authentication settings are required, the other options are, um, optional.

  • GITHUB_ACCESS_TOKEN - GitHub API Token
  • GITHUB_WEBHOOK_SECRET - Secret key for signing webhooks

Create a GitHub Personal Access token with the following options:

  • repo
  • admin:repo_hook

See .env-example for instructions for setting up the credentials, and examples and, a full list of settings.

License

MIT License. See LICENSE for details.

About

Sinatra app for running pronto on GitHub PRs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published