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