module ConfigServer

Constants

VERSION

Public Class Methods

start() click to toggle source
# File lib/config_server.rb, line 7
def self.start
  port = ENV["SERVER_PORT"] || 8080
  config_file = ENV["CONFIG_FILE"] || "config.yml"
  Rack::Server.start(:Host => "0.0.0.0", :Port => port, :app => ConfigServer::App.new(config_file))
end