Sha256: a03cfffab506762bfe7d1fdc7576d24d8376cd3a30841d2c3cd35e34a3457a19
Contents?: true
Size: 604 Bytes
Versions: 1
Compression:
Stored size: 604 Bytes
Contents
#!/usr/bin/env ruby require 'bundler/setup' require 'eventmachine' require 'thin' require 'trollop' require './config/boot' opts = Trollop.options do version "Smartkiosk::Client #{Smartkiosk::Client::VERSION}" banner "Smartkiosk client application" opt :log, "Log file to use", type: String end Smartkiosk::Client::Logging.destination = opts[:log] if opts[:log] Smartkiosk::Client::Logging.init EventMachine.run do Thin::Server.start '0.0.0.0', 3001 do map '/assets' do run Application.sprockets end use Smartkiosk::Client::Logging::Middleware run Application end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
smartkiosk-client-0.0.10 | bin/smartkiosk-client |