Skip to content

Commit

Permalink
[ADD] Config.ru - start webserver by shotgun and see that 'Cron' is…
Browse files Browse the repository at this point in the history
… in tabs
  • Loading branch information
ondrejbartas committed Aug 25, 2013
1 parent d92bf2a commit 5b36bef
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions config.ru
@@ -0,0 +1,14 @@
require 'sidekiq'

Sidekiq.configure_client do |config|
config.redis = { :size => 1 }
end

require 'sidekiq/web'

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))

require 'sidekiq-cron'

run Sidekiq::Web

0 comments on commit 5b36bef

Please sign in to comment.