Sha256: 3291a965df1a5e83de9c60c9bc5fa3d614633a317326df96bae7f74404fac38e

Contents?: true

Size: 925 Bytes

Versions: 1

Compression:

Stored size: 925 Bytes

Contents

# DjDashboard

The missing dashboard for delayed_job.

Tested with Ruby 1.9.2, Rails 3.0+

# Screenshots

Coming soon...

# Installation

Add to your Gemfile:

    gem 'dj_dashboard'

Then run:

    rake dj_dashboard:install
    rake db:migrate

Installation may take several minutes if you have a lot of existing jobs (50k+).

# Usage

Start the server:

    rails s

View the dashboard at: http://localhost:3000/dj_dashboard

# Authentication

The installer will create an initializer in app/config/initializers/dj_dashboard.rb

In the initializer, you can define any auth logic that will be used by the controller's before_filter callback.

Below is an example using devise:

    module DjDashboard
      class ApplicationController < ActionController::Base
        def authenticate!
          redirect_to new_user_session_url unless user_signed_in?
        end
      end
    end

# License

This project uses MIT-LICENSE.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dj_dashboard-0.0.6 README.md