2

Hi i have tried using gollum-site gem, but it seems to only generate the site on localhost:8000 by default. How can i get the markdown wiki hosted on heroku. Anyone tried doing it before ?

John Lee
  • 1,241
  • 2
  • 16
  • 29

2 Answers2

0

There is GitHub repository: heroku-buildpack-gollum-site that seem to do just what you want. It uses a modified version of heroku-buildpack-php to install an Apache pack to heroku.

The answers targeted to Gollum are not appropriate, as here any server can serve the static generated site. No need to host Gollum (or Gollum-site) itself.

The question is old now, but some people can still need the answer!

marcz
  • 1,178
  • 11
  • 12
0

There was a thread on this a while ago. It looks like it isn't possible because of Heroku's readonly filesystem and the fact that you don't have access to git.

So, the solution will be to clone the repo to temporary path, work there and push changes to the remote repo. There is a much overhead: you need to clone repo every time a user browse a wiki page. — Vanuan

Community
  • 1
  • 1
twe4ked
  • 2,832
  • 21
  • 24
  • Because this question isn't about gollum, but gollum-site. It should be possible with the right configuration. gollum-site will generate static html pages that are served, so not need to access the filesystem in the remote server. – Leonel Galán Jan 31 '13 at 19:19