Skip to content

Commit

Permalink
Adds Resque web interface.
Browse files Browse the repository at this point in the history
  • Loading branch information
gaurav-jhaveri committed Mar 13, 2014
1 parent 0a03a11 commit 5b5e360
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 11 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ gem 'nokogiri'

gem 'redis'
gem 'resque'
gem 'resque-web', require: 'resque_web'

# To use ActiveModel has_secure_password
# gem 'bcrypt-ruby', '~> 3.0.0'
Expand Down
19 changes: 15 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,12 @@ GEM
redis-namespace (~> 1.3)
sinatra (>= 0.9.2)
vegas (~> 0.1.2)
resque-web (0.0.5)
coffee-rails
jquery-rails
resque
sass-rails
twitter-bootstrap-rails
rspec (2.14.1)
rspec-core (~> 2.14.0)
rspec-expectations (~> 2.14.0)
Expand All @@ -217,8 +223,7 @@ GEM
rspec-expectations (~> 2.14.0)
rspec-mocks (~> 2.14.0)
ruby-openid (2.5.0)
sass (3.3.0)
rake
sass (3.3.2)
sass-rails (3.2.6)
railties (~> 3.2.0)
sass (>= 3.1.10)
Expand All @@ -227,7 +232,7 @@ GEM
rack (~> 1.4)
rack-protection (~> 1.4)
tilt (~> 1.3, >= 1.3.4)
slop (3.4.7)
slop (3.5.0)
spork (0.9.2)
sprockets (2.2.2)
hike (~> 1.2)
Expand All @@ -241,7 +246,12 @@ GEM
treetop (1.4.15)
polyglot
polyglot (>= 0.3.1)
tzinfo (0.3.38)
twitter-bootstrap-rails (2.2.8)
actionpack (>= 3.1)
execjs
rails (>= 3.1)
railties (>= 3.1)
tzinfo (0.3.39)
uglifier (2.4.0)
execjs (>= 0.3.0)
json (>= 1.8.0)
Expand Down Expand Up @@ -273,6 +283,7 @@ DEPENDENCIES
rb-fsevent
redis
resque
resque-web
rspec-rails
sass-rails (~> 3.2.3)
spork
Expand Down
16 changes: 9 additions & 7 deletions config/routes.rb
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
require "resque_web"

DotaNexus::Application.routes.draw do



ComfortableMexicanSofa::Routing.admin(:path => '/cms-admin')

# Make sure this routeset is defined last
ComfortableMexicanSofa::Routing.content(:path => '/', :sitemap => false)

root to: "static_pages#splash"
post 'auth/steam/callback' => 'users#auth_callback'

Expand All @@ -21,4 +16,11 @@

resources :scrims, only: [:create]

mount ResqueWeb::Engine => "/resque_web"

ComfortableMexicanSofa::Routing.admin(:path => '/cms-admin')

# Make sure this routeset is defined last
ComfortableMexicanSofa::Routing.content(:path => '/', :sitemap => false)

end

0 comments on commit 5b5e360

Please sign in to comment.