Sha256: 90af8eb22adb118d530daf97a9ea2393c5d1cab4be0b2485c2fe901d6e329e95

Contents?: true

Size: 1.11 KB

Versions: 1

Compression:

Stored size: 1.11 KB

Contents

#!/usr/bin/env ruby
require "rubygems"
require "integrity"

# If you want to add any notifiers, install the gems and then require them here
# For example, to enable the Email notifier: install the gem (from github:
#
#   sudo gem install -s http://gems.github.com foca-integrity-email
#
# And then uncomment the following line:
#
# require "notifier/email"

# Load integrity's configuration.
Integrity.config = File.expand_path("./config.yml")

#######################################################################
##                                                                   ##
## == DON'T EDIT ANYTHING BELOW UNLESS YOU KNOW WHAT YOU'RE DOING == ##
##                                                                   ##
#######################################################################
require Integrity.root / "app"

set     :environment, ENV["RACK_ENV"] || :production
set     :public,      Integrity.root / "public"
set     :views,       Integrity.root / "views"
set     :port,        8910
disable :run, :reload

use Rack::CommonLogger, Integrity.logger if Integrity.config[:log_debug_info]
run Sinatra::Application

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
integrity-0.1.8 config/config.sample.ru