Sha256: 619ddd8e57bf5ea056bba868e91e0c6427df7c6b22605b91d290bd93b68251d5

Contents?: true

Size: 478 Bytes

Versions: 11

Compression:

Stored size: 478 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::App
end

Version data entries

11 entries across 7 versions & 2 rubygems

Version Path
documentcloud-cloud-crowd-0.0.1 config/config.example.ru
documentcloud-cloud-crowd-0.0.3 config/config.example.ru
documentcloud-cloud-crowd-0.0.4 config/config.example.ru
documentcloud-cloud-crowd-0.0.5 config/config.example.ru
documentcloud-cloud-crowd-0.0.5 test/config/config.ru
documentcloud-cloud-crowd-0.0.6 test/config/config.ru
documentcloud-cloud-crowd-0.0.6 config/config.example.ru
documentcloud-cloud-crowd-0.1.0 test/config/config.ru
documentcloud-cloud-crowd-0.1.0 config/config.example.ru
cloud-crowd-0.1.0 config/config.example.ru
cloud-crowd-0.1.0 test/config/config.ru