Guest User

Untitled

a guest
Feb 20th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. #!/usr/bin/env ruby
  2. require "rubygems"
  3. require "integrity"
  4. require "sinatra"
  5.  
  6. # Load integrity's configuration.
  7. Integrity.config = File.expand_path("./config.yml")
  8.  
  9. Sinatra::Application.default_options.merge!(
  10. :run => false,
  11. :port => Integrity.config[:port],
  12. :env => :development
  13. )
  14.  
  15. require Integrity.root / "app"
  16. run Sinatra.application
Add Comment
Please, Sign In to add comment