a4f3289846ba639e49a701925eb6fbc9621e80b9
documentation/gollum.md
... | ... | @@ -0,0 +1,21 @@ |
1 | +# gollum |
|
2 | + |
|
3 | +## install and enable |
|
4 | +``` |
|
5 | +gem install gollum |
|
6 | +```` |
|
7 | + |
|
8 | +enter the following in `/etc/systemd/system/gollum-personal.service` |
|
9 | +``` |
|
10 | +[Unit] |
|
11 | +Description=Personal Gollum wiki server |
|
12 | +After=network.target |
|
13 | + |
|
14 | +[Service] |
|
15 | +Type=simple |
|
16 | +ExecStart=/home/pyratebeard/.gem/ruby/2.5.0/bin/gollum --show-all --live-preview --h1-title --port 4666 --css "/path/to/your/repo" |
|
17 | +Restart=on-abort |
|
18 | + |
|
19 | +[Install] |
|
20 | +WantedBy=multi-user.target |
|
21 | +``` |