Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I use gollum to create a wiki which isn't hosted by Github?

I want to create a wiki with gollum and push it to my own git repo, is that possible?

I created a new git repo, install gollum and started it. I got the "edit/Home" page. I added some content, saved...all looked good. Even the "revision history" showed that revisions occurred.

Then I stopped gollum and found there was nothing new in my git repo, I even checked if stuff hadn't been pushed...nothing. I'm not sure how/where it's storing the content that I add when I run it.

Any ideas?

Thanks

like image 968
codecraig Avatar asked Jan 31 '13 15:01

codecraig


1 Answers

Gollum will not sync with a git remote. It will never perform git pull or git push. You must have gollum running on the remote server, or you must manually run git push on machines where you make edits, and git pull on machines who also want to see the wiki. This could be part of a cron job if you're running locally.

It is much easier to have the gollum process running on your web server. See below for more information:

http://www.nomachetejuggling.com/2012/05/15/personal-wiki-using-github-and-gollum-on-os-x/#toc-synchronization-with-github

like image 71
Martin Foot Avatar answered Sep 30 '22 02:09

Martin Foot