The missing dashboard for delayed_job.
Tested with Ruby 1.9.2, Rails 3.0+
Coming soon...
Add to your Gemfile:
gem 'dj_dashboard'
Then run:
rake dj_dashboard:install
Installation may take several minutes if you have a lot of existing jobs (50k+).
Start the server:
rails s
View the dashboard at: http://localhost:3000/dj_dashboard
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
[][travis] [travis]: http://travis-ci.org/bkempner/dj_dashboard
This project uses MIT-LICENSE.