intercom-archive / banjaxed

:fire: Incident management tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Banjaxed Build Status Code Climate Coverage Status Dependency Status

Banjaxed is an incident management tool.

Configuration

GitHub OAuth is used to authenticate users. You'll need to register an application and make the details available as environment variables, as well as the organisation to use to restrict access.

Name Purpose Required?
GITHUB_CLIENT_ID GitHub OAuth client ID to use for authentication. Yes
GITHUB_CLIENT_SECRET GitHub OAuth client secret to use for authentication. Yes
GITHUB_ORG Only members of this GitHub organisation will have access. No

If you don't specify a GitHub organisation, any authenticated GitHub user will have access.

Dotenv

In development you can set these environment variables with dotenv, by creating a .env file in the root of the project:

export GITHUB_CLIENT_ID=myid
export GITHUB_CLIENT_SECRET=mysecret
export GITHUB_ORG=myorg

Deployment

Banjaxed is a simple Rails app and should be relatively straightforward to deploy.

It is configured to use Postgres by default, but should work with any Active Record database adapter.

On Heroku

Deploy

Here's how you could deploy Banjaxed on Heroku from the command line:

git clone git@github.com:intercom/banjaxed.git
cd banjaxed
heroku apps:create
heroku addons:add heroku-postgresql
heroku config:set GITHUB_CLIENT_ID=x GITHUB_CLIENT_SECRET=y GITHUB_ORG=z
git push heroku
heroku run rake db:schema:load
heroku apps:open

Obviously, you'll want to use actual valid GitHub application details.

The GitHub application's callback URL will need to be updated to match the Heroku app.

Screenshots

Listing all incidents:

banjaxed_index

Viewing an incident:

banjaxed_show

Creating a new incident:

banjaxed_new

About

:fire: Incident management tool


Languages

Language:Ruby 77.7%Language:HTML 15.2%Language:CSS 3.1%Language:CoffeeScript 3.1%Language:JavaScript 0.9%