Sha256: 20d2ed82a11a3f53f373932ae5d0373e897a4fcb291868a03ce1775c7e31c569
Contents?: true
Size: 1.13 KB
Versions: 6
Compression:
Stored size: 1.13 KB
Contents
#!/usr/bin/env ruby require 'rubygems' require 'bundler' Bundler.require ROOT_PATH = File.expand_path(File.dirname(__FILE__)) if ENV['DEBUG'] == 'yes' ENV['APP_TYPE'] = 'rhosync' ENV['ROOT_PATH'] = ROOT_PATH require 'debugger' end require 'rhoconnect/server' require 'rhoconnect/web-console/server' require 'resque/server' # Rhoconnect server flags Rhoconnect::Server.disable :run Rhoconnect::Server.enable :stats Rhoconnect::Server.disable :clean_trace Rhoconnect::Server.enable :raise_errors Rhoconnect::Server.set :secret, '3ddaa72a36466bae3fc5e54c09324db50cfc30588d8dee1a2700e61195bdbbb5eeb65da2a184d274ce644b20b0e986046c2447730c85555ce18a4eb2fce7ebf5' Rhoconnect::Server.set :root, ROOT_PATH Rhoconnect::Server.use Rack::Static, :urls => ['/data'], :root => Rhoconnect::Server.root # Load our rhoconnect application require './application' # Setup the url map run Rack::URLMap.new \ '/' => Rhoconnect::Server.new, '/resque' => Resque::Server.new, # If you don't want resque frontend, disable it here "/console" => RhoconnectConsole::Server.new # If you don't want rhoconnect frontend, disable it here
Version data entries
6 entries across 6 versions & 1 rubygems