Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A Frontend for Delayed Job
Ruby JavaScript CSS
branch: master

Merge pull request #54 from nielsbuus/master

Make DJ Mon compatible with Rails 4
latest commit b360a3a9ba
@akshayrawat authored
Failed to load latest commit information.
app
config api specs for active_record backend
lib Make DJ Mon Rails 4 compatible
test 1.8.7 support
vendor/assets namespace vendored assets with a dj_mon directory so that they dont c…
.gitignore api specs for active_record backend
.ruby-version Update to newer reference Ruby
.travis.yml add mongodb service for travis
Gemfile engine skeleton
Gemfile.lock Update Gemfile.lock to match Gemfile
MIT-LICENSE engine skeleton
README.md Things to do - Rails 4 support
Rakefile 1.8.7 support
config.ru
dj_mon.gemspec fix typo

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.