Skip to content

Instantly share code, notes, and snippets.

@sr
Created November 23, 2008 16:50
Show Gist options
  • Save sr/28153 to your computer and use it in GitHub Desktop.
Save sr/28153 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
base = File.dirname(__FILE__) + "/../code/git-wiki"
require base + '/git-wiki'
set :public, base + '/public'
set :port, 4567
set :env, :production
disable :run, :reload
run Sinatra.application
thin --daemonize --port 4567 --log ~/tmp/git-wiki.log --pid ~/tmp/git-wiki.pid --rackup ~/bin/git-wiki.ru start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment