require 'bundler/setup'

require 'logger'
require 'json'
require 'openssl'
require 'time'
require 'yaml'

# https://bundler.io/v1.11/groups.html reading
Bundler.require(:default)
# load all the environment specific gems
Bundler.require(Sinatra::Base.environment)

set :port, 3000
set :bind, '0.0.0.0'

########## Configure Sinatra
#
# Let's turn on verbose logging during development
#
configure :development do
  set :logging, Logger::DEBUG
end

require_all 'app'
