Sha256: 3d1d5dfaf3c0b57092fd913d5f08d8cf2210750240fa44682f97023c2307296b

Contents?: true

Size: 481 Bytes

Versions: 16

Compression:

Stored size: 481 Bytes

Contents

#!/usr/bin/env ruby

# This rackup script can be used to start the central CloudCrowd server
# using any Rack-compliant server handler. For example, start up three servers 
# with a specified port number, using Thin:
#
# thin start -R config.ru -p 9173 --servers 3

require 'rubygems'
require 'cloud-crowd'

CloudCrowd.configure(File.dirname(__FILE__) + '/config.yml')
CloudCrowd.configure_database(File.dirname(__FILE__) + '/database.yml')

map '/' do
  run CloudCrowd::Server
end

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
documentcloud-cloud-crowd-0.1.1 test/config/config.ru
documentcloud-cloud-crowd-0.2.0 test/config/config.ru
documentcloud-cloud-crowd-0.2.1 test/config/config.ru
documentcloud-cloud-crowd-0.2.2 test/config/config.ru
documentcloud-cloud-crowd-0.2.3 test/config/config.ru
cloud-crowd-0.3.0 test/config/config.ru
cloud-crowd-0.2.9 test/config/config.ru
cloud-crowd-0.2.8 test/config/config.ru
cloud-crowd-0.2.7 test/config/config.ru
cloud-crowd-0.2.6 test/config/config.ru
cloud-crowd-0.2.5 test/config/config.ru
cloud-crowd-0.2.4 test/config/config.ru
cloud-crowd-0.2.3 test/config/config.ru
cloud-crowd-0.2.2 test/config/config.ru
cloud-crowd-0.2.1 test/config/config.ru
cloud-crowd-0.2.0 test/config/config.ru