Skip to content
A Frontend for Delayed Job
Ruby JavaScript CSS
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
app
config
lib
test
vendor/assets
.gitignore
.ruby-version
.travis.yml
Gemfile
Gemfile.lock
MIT-LICENSE
README.md
Rakefile
config.ru
dj_mon.gemspec

README.md

DJ Mon Build Status

A Rails engine based frontend for Delayed Job. It also has an iPhone app.

Demo

Installation

Add this line to your application's Gemfile:

gem 'dj_mon'

And then execute:

$ bundle

Or install it yourself as:

$ gem install dj_mon

Note

  • Supports activerecord and mongoid.
  • Supports ruby 1.8.7 or higher for activerecord. delayed_job_mongoid depends on mongoid 3.0 which needs ruby 1.9, so there is no support for ruby 1.8.7 for that.

Usage

If you are using Rails =< 3.1, or if config.assets.initialize_on_precompile is set to false, then add this to config/environments/production.rb.

config.assets.precompile += %w( dj_mon/dj_mon.js dj_mon/dj_mon.css)

Mount it in routes.rb

mount DjMon::Engine => 'dj_mon'

This uses http basic auth for authentication. Set the credentials in an initializer - config/initializers/dj_mon.rb

YourApp::Application.config.dj_mon.username = "dj_mon"
YourApp::Application.config.dj_mon.password = "password"

If the credentials are not set, then the username and password are assumed to be the above mentioned.

Now visit http://localhost:3000/dj_mon and profit!

iPhone App

Contributing

Things to do

  • Rails 4 compatibility.
  • Mostly in the iPhone app. Mentioned in the README.

Running the test suite

To run the test suite, execute the following commands from the project root:

gem install bundler
bundle install
rake test:prepare
rake

Screenshot

Something went wrong with that request. Please try again.