Sha256: 4db48fa19622ea77bb290501367ce2d8c33f7a6197027e7d890fc693a6cbe27e
Contents?: true
Size: 496 Bytes
Versions: 1
Compression:
Stored size: 496 Bytes
Contents
# Load gem files $LOAD_PATH << File.expand_path(File.join(File.dirname(__FILE__), 'lib')) require 'rest-ftp-daemon' # Some extra constants APP_STARTED = Time.now # Create worker pool $queue = RestFtpDaemon::JobQueue.new $pool = RestFtpDaemon::WorkerPool.new(Settings.workers.to_i) # Start REST FTP Daemon #run Rack::Cascade.new [Rack::File.new("/public"), RestFtpDaemon::API::Root] #run Rack::URLMap.new("/" => Frontend.new, "/api" => Api.new) run Rack::Cascade.new [RestFtpDaemon::API::Root]
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rest-ftp-daemon-0.55 | config.ru |