def start_server
      port        = @options[:port] || 9173
      daemonize   = @options[:daemonize] ? '-d' : ''
      log_path    = CloudCrowd.log_path('server.log')
      pid_path    = CloudCrowd.pid_path('server.pid')
      rackup_path = File.expand_path("#{@options[:config_path]}/config.ru")
      FileUtils.mkdir_p(CloudCrowd.log_path) if @options[:daemonize] && !File.exists?(CloudCrowd.log_path)
      puts "Starting CloudCrowd Central Server (#{VERSION}) on port #{port}..."
      exec "thin -e #{@options[:environment]} -p #{port} #{daemonize} --tag cloud-crowd-server --log #{log_path} --pid #{pid_path} -R #{rackup_path} start"
    end
def start_server
      port        = @options[:port] || 9173
      daemonize   = @options[:daemonize] ? '-d' : ''
      log_path    = CloudCrowd.log_path('server.log')
      pid_path    = CloudCrowd.pid_path('server.pid')
      rackup_path = File.expand_path("#{@options[:config_path]}/config.ru")
      FileUtils.mkdir_p(CloudCrowd.log_path) if @options[:daemonize] && !File.exists?(CloudCrowd.log_path)
      puts "Starting CloudCrowd Central Server (#{VERSION}) on port #{port}..."
      exec "thin -e #{@options[:environment]} -p #{port} #{daemonize} --tag cloud-crowd-server --log #{log_path} --pid #{pid_path} -R #{rackup_path} start"
    end
Convenience command for quickly spinning up the central server. More
 sophisticated deployments, load-balancing across multiple app servers,
 should use the config.ru rackup file directly. This method will start
 a single Thin server.