config/config.example.ru in documentcloud-cloud-crowd-0.1.0 vs config/config.example.ru in documentcloud-cloud-crowd-0.1.1
- old
+ new
@@ -2,16 +2,22 @@
# 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
+# 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::App
+ run CloudCrowd::Server
end
\ No newline at end of file