Create your own Wiki

Gollum

The Wiki called gollum and is based on git.
Change /home/USER.

Packages

sudo pacman -S ruby ruby-rdoc git
mkdir -p /home/user/your/wiki/path
git init /home/user/your/wiki/path
gem install gollum
gem install github-markdown

Update gollum

gem update

 

Copy config files

Copy config.rb, public and the templates into your wiki.

cp /home/user/.gem/ruby/2.6.0/gems/gollum-4.1.4/config.rb /home/user/your/wiki/path/config.rb
cp -r /home/user/.gem/ruby/2.6.0/gems/gollum-4.1.4/lib/gollum/public/gollum /home/user/your/wiki/path/public
cp -r /home/user/.gem/ruby/2.6.0/gems/gollum-4.1.4/lib/gollum/templates /home/user/your/wiki/path/public/templates

 

gollum.service

Create a service to run it on every boot.

sudo nano /lib/systemd/system/gollum.service
[Unit]
Description=Gollum wiki server
After=network.target

[Service]
Type=simple
User=user
Group=user
WorkingDirectory=/home/user/your/wiki/path
ExecStart=/bin/bash -c "PATH=/home/user/.gem/ruby/2.6.0/bin:$PATH exec gollum gollum --config /home/user/your/wiki/path/config.rb  --template-dir /home/user/your/wiki/path/public/templates/" 
Restart=on-abort

[Install]
WantedBy=multi-user.target
sudo systemctl enable gollum.service && sudo systemctl start gollum.service

 

Push from local desktop folder to git

Create a file, add images, etc. and add your description.

After you have added your content, you need to run the following commands in your Wiki root directory:

git add .
git commit -m "your explanation about the content, changes ..."

 

 
For further information see our wiki.