On-call scheduling and incident response
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.
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).
Revily makes extensive use of environment variables for configuring various parts of the system. The following variables are required:
SECRET_TOKEN
- generate with rake secret
. Must be at least 30 characters long.TWILIO_ACCOUNT_SID
- found at https://www.twilio.com/user/accountTWILIO_AUTH_TOKEN
- found at https://www.twilio.com/user/accountTWILIO_APPLICATION_SID
- found at https://www.twilio.com/user/account/appsTWILIO_NUMBER
- found at https://www.twilio.com/user/account/phone-numbers/incomingMAILER_URL
- default URL for mailing.MAILER_DELIVERY_METHOD
- options: mailgun, smtpMAILER_SENDER
- the email address from which Revily will send emailsREVILY_REDIS_CACHE_URL
- URI to redis instance (ex: redis://localhost:6379/0/cache
)The following variables are optional
MAILGUN_API_KEY
- Mailgun API keyMAILGUN_DOMAIN
- Mailgun domainFor manual instructions, consult the INSTALL.md documentation.
export RAILS_ENV=production TWILIO_ACCOUNT_SID=... TWILIO_AUTH_TOKEN=...
rake revily:setup revily:bootstrap revily:twilio:bootstrap
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
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
https://github.com/revily/revily/commits/master
https://github.com/revily/revily/issues?state=open
Revily is Copyright © Applied Awesome LLC.