#!/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