Sha256: 98a6a832bc0af62692ab107d3b55763735ccd3a3b1ebb247c26446ab90e5364e
Contents?: true
Size: 535 Bytes
Versions: 6
Compression:
Stored size: 535 Bytes
Contents
#!/usr/bin/env ruby 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)) api_manager = Doraemon::APIManager.new(root) proxy_server = Doraemon::ProxyServer.new(port.to_i, root) proxy_server.start api_manager.load_api http_server = Doraemon::HTTPServer.new(port.to_i+1, root) http_server.start
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
doraemon-1.0.6 | exe/doraemon |
doraemon-1.0.5 | exe/doraemon |
doraemon-1.0.4 | exe/doraemon |
doraemon-1.0.3 | exe/doraemon |
doraemon-1.0.2 | exe/doraemon |
doraemon-1.0.1 | exe/doraemon |