revily

On-call scheduling and incident response

108
12
Ruby

Revily

Build Status
Code Climate
Bitdeli Badge
githalytics.com alpha

Description

Revily is an on-call management and incident response service. Revily sends alerts right to your phone, route to the right person with flexible on-call scheduling, and fully integrates with your services using a powerful API.

Dependencies

Data storage

  • PostgreSQL 9.x (application data)
  • Redis (background processing; caching; session store)

Configuring these services is left as an exercise for the reader. You’ll want at least one Postgres database, and up to three Redis databases (though, a single namespaced Redis instance will suffice).

3rd-Party Services

  • Twilio (voice and SMS communication)
  • Mailgun (email receiving and parsing)

Options

Deployment

Configuration

Revily makes extensive use of environment variables for configuring various parts of the system. The following variables are required:

The following variables are optional

  • MAILGUN_API_KEY - Mailgun API key
  • MAILGUN_DOMAIN - Mailgun domain

Installation

For manual instructions, consult the INSTALL.md documentation.

TL;DR

export RAILS_ENV=production TWILIO_ACCOUNT_SID=... TWILIO_AUTH_TOKEN=...
rake revily:setup revily:bootstrap revily:twilio:bootstrap

Bootstrapping Revily

Two rake tasks are used to setup the initial configuration. The revily:setup task will create a database user, create a production database, and run all migrations. The revily:bootstrap task
will create your first account, user and print out environment variables which can be used to configure the application further.

export RAILS_ENV=production
rake revily:setup
rake revily:bootstrap

Creating a Twilio account

A rake task is provided for automating the creation of a Twilio application, a phone number for voice and SMS messages, and configuring the number to use the Twilio application. You will need to know your account SID and your auth token, both of which you can find on the Twilio dashboard.

export RAILS_ENV=production TWILIO_ACCOUNT_SID=... TWILIO_AUTH_TOKEN=...
rake revily:twilio:bootstrap

Deployment

HISTORY

https://github.com/revily/revily/commits/master

BUGS

https://github.com/revily/revily/issues?state=open

COPYRIGHT

Revily is Copyright © Applied Awesome LLC.

SEE ALSO

pagerduty(1), opsgenie(1), victorops(1)