Sha256: 1b6391d6585791a7b57910392a63383092982cfceb8089c41123d8643707b8e4

Contents?: true

Size: 539 Bytes

Versions: 23

Compression:

Stored size: 539 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

23 entries across 23 versions & 2 rubygems

Version Path
cloud-crowd-0.7.6 config/config.example.ru
cloud-crowd-0.7.5 config/config.example.ru
cloud-crowd-0.7.3 config/config.example.ru
cloud-crowd-0.7.2 config/config.example.ru
cloud-crowd-0.7.2.beta config/config.example.ru
cloud-crowd-0.7.2.pre3 config/config.example.ru
cloud-crowd-0.7.2.pre2 config/config.example.ru
cloud-crowd-0.7.2.pre config/config.example.ru
cloud-crowd-0.7.1 config/config.example.ru
cloud-crowd-0.7.0 config/config.example.ru
cloud-crowd-0.7.0.pre config/config.example.ru
cloud-crowd-0.6.2 config/config.example.ru
cloud-crowd-0.6.1 config/config.example.ru
cloud-crowd-0.6.0 config/config.example.ru
cloud-crowd-0.5.2 config/config.example.ru
cloud-crowd-0.5.0 config/config.example.ru
cloud-crowd-0.4.1 config/config.example.ru
cloud-crowd-0.4.0 config/config.example.ru
mooktakim-cloud-crowd-0.3.5 config/config.example.ru
mooktakim-cloud-crowd-0.3.4 config/config.example.ru