Sha256: 0e1aba69944d2a2214532e1ba59bfeff70bca0512ddc081cdca93f07dc19c86c
Contents?: true
Size: 492 Bytes
Versions: 5
Compression:
Stored size: 492 Bytes
Contents
#!/usr/bin/env ruby # -*- coding: utf-8 -*- path = File.expand_path('../../lib/doraemon/utils', __FILE__) $LOAD_PATH.unshift path require 'doraemon' require 'json' require 'openssl' require 'claide' include Doraemon argv = CLAide::ARGV.new(ARGV) port = argv.option('port', 4000) root = File.expand_path(argv.option('root', Dir.pwd)) proxy_server = Doraemon::ProxyServer.new(port.to_i, root) proxy_server.start http_server = Doraemon::HTTPServer.new(port.to_i+1, root) http_server.start
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
doraemon-1.0.12 | exe/doraemon |
doraemon-1.0.11 | exe/doraemon |
doraemon-1.0.10 | exe/doraemon |
doraemon-1.0.9 | exe/doraemon |
doraemon-1.0.8 | exe/doraemon |