views:

47

answers:

2

Gollum is "A simple, Git-powered wiki with a sweet API and local frontend."

It's hosted on GitHub: http://github.com/github/gollum

It seems to be a simple Sinatra app, and as such, it seems like it should be easy to deploy to Heroku. I can't seem to get it to work. Mostly because I know next to nothing about Rake and config.ru files.

Is it even possible to deploy a Gollum wiki to Heroku? If so, what would my config.ru file need to look like?

Update/Edit

lib/gollum/frontend/app:

module Precious
  class App < Sinatra::Base

This gets called from bin/gollum

require 'gollum/frontend/app'
Precious::App.set(:gollum_path, gollum_path)
Precious::App.run!(options)
A: 

http://docs.heroku.com/rack#sinatra

require 'hello'
run Sinatra::Application

if it is a sinatra app, that should do it for you.

Derick Bailey
Unfortunately, it's not a sinatra app in that fashion. I updated the original question with some additional details.
irkenInvader