Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A Frontend for Delayed Job

tree: 25cafc83b1
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.

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.js 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

  • 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.