Giter Club home page Giter Club logo

banjaxed's Introduction

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 [email protected]: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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.