Sha256: 02f0718e5a56bff9922308b2e92db3e32f727a30502b7b2d1f16f77c72ba9b48

Contents?: true

Size: 610 Bytes

Versions: 4

Compression:

Stored size: 610 Bytes

Contents


class WebAdminApp < Sinatra::Base

  include Splash::Config
  include Splash::Helpers
  include Splash::Exiter
  include Splash::Loggers
  include Splash::Daemon::Controller

  set :server, 'thin'
  set :port, get_config.webadmin_port
  set :bind, get_config.webadmin_ip
  set :static, :enable
  set :public_folder, search_file_in_gem("prometheus-splash", 'lib/splash/webadmin/portal/public')
  set :views, search_file_in_gem("prometheus-splash", "lib/splash/webadmin/portal/views")

  before do
    rehash_config
  end



end

require 'splash/webadmin/portal/init'
require 'splash/webadmin/api/routes/init'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
prometheus-splash-0.8.3 lib/splash/webadmin/main.rb
prometheus-splash-0.8.2 lib/splash/webadmin/main.rb
prometheus-splash-0.8.1 lib/splash/webadmin/main.rb
prometheus-splash-0.8.0 lib/splash/webadmin/main.rb