Sha256: 042e6160e029982bd69278e72a986c1b0991cf3d763fe4d025a275da0983f3b5

Contents?: true

Size: 504 Bytes

Versions: 1

Compression:

Stored size: 504 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'
require 'cloud_crowd/app'

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

map '/' do
  run CloudCrowd::App
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
documentcloud-cloud-crowd-0.0.2 config/config.example.ru