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