Gollum is a simple wiki system built on top of Git.
Gollum wikis are simply Git repositories that adhere to a specific format. Gollum pages may be written in a variety of formats and can be edited in a number of ways depending on your needs. You can edit your wiki locally:
- With your favorite text editor or IDE (changes will be visible after committing).
- With the built-in web interface.
- With the Gollum Ruby API.
Here are steps to install gollum.
Install some dependencies:
Install Gollum with RubyGems:
Install some text format
Create a local git repo on host
1 2 3
Run the gollum
This will start up a web server running the Gollum frontend and you can view and edit your wiki at http://
BUILDING THE GEM FROM MASTER
1 2 3 4 5
RUN THE TESTS
RUNNING WITH UPSTART
Create a wrapper to include environment information:
1 2 3
Create a config file under /etc/init, name it
Start/Stop the service:
You can get the log file at /var/log/upstart/gollum.log to analyze:
RUNNING WITH NGINX
Create a subdomain like ‘gollum.weimed.com’ point to your server IP; Create a nginx configuration file, as /etc/nginx/sites-available/stackedit.weimed.com: https://gist.github.com/lifuzu/2f2ce9095ba4a6969b2c Create a symbolic link to enable it
Check the configuration:
1 2 3
Reload the configuration:
You should see: http://gollum.weimed.com/
TODO, please refer to , 
Written with StackEdit.