Skip to content

Commit

Permalink
bin file to kickstart the bitch
Browse files Browse the repository at this point in the history
  • Loading branch information
bagwanpankaj committed Feb 6, 2014
1 parent 716c746 commit b61c03d
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions bin/humongous
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/usr/bin/env ruby

$LOAD_PATH.unshift File.join(File.dirname(__FILE__), *%w[.. lib])
begin
require 'vegas'
rescue LoadError
require 'rubygems'
require 'vegas'
end
require 'humongous'

Vegas::Runner.new(Humongous::Application, 'humongous',{
:environment => "production",
:app_dir => File.expand_path(File.join('~', '.humongous')),
:port => 9000,
:before_run => lambda {|v|
puts "#################################################"
puts "You are using Humongous(#{Humongous.version})"
puts "Welcome aboard on Humongous. Enjoy!"
puts "#################################################"
}
})

0 comments on commit b61c03d

Please sign in to comment.