bigbluebutton-Github/record-and-playback/core/Rakefile

17 lines
589 B
Ruby
Raw Normal View History

require 'resque/tasks'
task "resque:setup" => :environment do
props = BigBlueButton.read_props
redis_host = props['redis_host']
redis_port = props['redis_port']
Resque.redis = "#{redis_host}:#{redis_port}"
end
task :environment do
require File.expand_path('../lib/recordandplayback', __FILE__)
require File.expand_path('../scripts/rap-archive-worker', __FILE__)
require File.expand_path('../scripts/rap-sanity-worker', __FILE__)
require File.expand_path('../scripts/rap-process-worker', __FILE__)
require File.expand_path('../scripts/rap-publish-worker', __FILE__)
end