Sha256: 273d46382c87a61dd8aed6a1ef83b7bc02ae36f496b23ab6dc448da6dd50cb36

Contents?: true

Size: 535 Bytes

Versions: 16

Compression:

Stored size: 535 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 --servers 3
#
# Or a single server with Unicorn:
#
# unicorn config.ru
#


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 config/config.example.ru
documentcloud-cloud-crowd-0.2.0 config/config.example.ru
documentcloud-cloud-crowd-0.2.1 config/config.example.ru
documentcloud-cloud-crowd-0.2.2 config/config.example.ru
documentcloud-cloud-crowd-0.2.3 config/config.example.ru
cloud-crowd-0.3.0 config/config.example.ru
cloud-crowd-0.2.9 config/config.example.ru
cloud-crowd-0.2.8 config/config.example.ru
cloud-crowd-0.2.7 config/config.example.ru
cloud-crowd-0.2.6 config/config.example.ru
cloud-crowd-0.2.5 config/config.example.ru
cloud-crowd-0.2.4 config/config.example.ru
cloud-crowd-0.2.3 config/config.example.ru
cloud-crowd-0.2.2 config/config.example.ru
cloud-crowd-0.2.1 config/config.example.ru
cloud-crowd-0.2.0 config/config.example.ru