Skip to content

Instantly share code, notes, and snippets.

@rhyhann
Forked from sr/gist:28153
Created November 23, 2008 16:56

Revisions

  1. @sr sr created this gist Nov 23, 2008.
    11 changes: 11 additions & 0 deletions gistfile1.rb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    #!/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
    1 change: 1 addition & 0 deletions gistfile2.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    thin --daemonize --port 4567 --log ~/tmp/git-wiki.log --pid ~/tmp/git-wiki.pid --rackup ~/bin/git-wiki.ru start