Gollum is GitHub's new wiki engine written in Ruby. Deployed locally it uses a Sinatra instance to provide a web interface.
Is it possible to run it in a shared hosting environment such as Dreamhost using Apache and mod_rails (Phusion Passenger)?
Gollum is GitHub's new wiki engine written in Ruby. Deployed locally it uses a Sinatra instance to provide a web interface.
Is it possible to run it in a shared hosting environment such as Dreamhost using Apache and mod_rails (Phusion Passenger)?
There's an excellent guide on:
https://github.com/tecnh/gollum/wiki/Gollum-and-Passenger
The main points are:
Create the file "config.ru", add this to it:
The answer of August Lilleaas is correct, however I needed to use an older version of gollum, so I set it up with Bundler:
Gemfile
:config.ru
:Also remember to create the directories
public
andtmp
, as Passenger requires these.However, I ran into another problem. You have to make sure that
git
is in the path of the webserver-user. For me this was not the case, and unfortunately there is no error message, you just always end up on the page to create a new page.