275238fca95994edba2b2ed366f5b2189745bce7
Home.md
| ... | ... | @@ -7,25 +7,11 @@ You can find me on GitHub [@pscheede](https://github.com/pscheede). |
| 7 | 7 | |
| 8 | 8 | ## Index |
| 9 | 9 | |
| 10 | -- [Resources about Git](./Git) |
|
| 11 | -- [MacOS](./MacOS) |
|
| 12 | -- [How is this wiki hosted](./How is this wiki hosted.md) |
|
| 10 | +- [Resources about Git](./Git.md) |
|
| 11 | +- [MacOS](./MacOS.md) |
|
| 12 | +- [How is this wiki hosted?](./WikiHosting.md) |
|
| 13 | 13 | |
| 14 | 14 | ## Recent Highlights |
| 15 | 15 | |
| 16 | 16 | - [So you think you know Git?](https://youtu.be/aolI_Rz0ZqY?si=lWKZ1xW4CW_4BMHC) – a fun talk about more obscure features of Git, by Scott Chacon, a co-founder of GitHub. |
| 17 | 17 | |
| 18 | -## Macro Test |
|
| 19 | - |
|
| 20 | -### AllPages |
|
| 21 | - |
|
| 22 | -<<AllPages()>> |
|
| 23 | - |
|
| 24 | -### GlobalTOC |
|
| 25 | - |
|
| 26 | -<<GlobalTOC()>> |
|
| 27 | - |
|
| 28 | -### Navigation |
|
| 29 | - |
|
| 30 | -<<Navigation()>> |
|
| 31 | - |
How is this wiki hosted.md
| ... | ... | @@ -1,31 +0,0 @@ |
| 1 | ---- |
|
| 2 | -title: How is this wiki hosted? |
|
| 3 | ---- |
|
| 4 | -This wiki is hosted by using [gollum](https://github.com/gollum/gollum). |
|
| 5 | - |
|
| 6 | -And also some other stuff: |
|
| 7 | -- a bare git repository in the main users home directory |
|
| 8 | -- a systemd service, which hosts gollum on localhost on port 8469 |
|
| 9 | -- an apache reverse proxy which enables SSL for this wiki |
|
| 10 | - |
|
| 11 | -## Systemd service |
|
| 12 | - |
|
| 13 | -``` |
|
| 14 | -[Unit] |
|
| 15 | -Description=Gollum wiki service |
|
| 16 | -After=network.target |
|
| 17 | -StartLimitIntervalSec=0 |
|
| 18 | - |
|
| 19 | -[Service] |
|
| 20 | -Type=simple |
|
| 21 | -Restart=always |
|
| 22 | -RestartSec=1 |
|
| 23 | -User=philipp |
|
| 24 | -ExecStart=/usr/local/bin/gollum --host localhost --port 8469 --bare --no-edit --emoji /path/to/wiki.git |
|
| 25 | - |
|
| 26 | -[Install] |
|
| 27 | -WantedBy=multi-user.target |
|
| 28 | -``` |
|
| 29 | - |
|
| 30 | -`--no-edit` means, that the wiki can only be edited by pushing new commits and not from the web interface. `--emoji` enables emoji rendering support, which is very important! |
|
| 31 | - |
WikiHosting.md
| ... | ... | @@ -0,0 +1,31 @@ |
| 1 | +--- |
|
| 2 | +title: How is this wiki hosted? |
|
| 3 | +--- |
|
| 4 | +This wiki is hosted by using [gollum](https://github.com/gollum/gollum). |
|
| 5 | + |
|
| 6 | +And also some other stuff: |
|
| 7 | +- a bare git repository in the main users home directory |
|
| 8 | +- a systemd service, which hosts gollum on localhost on port 8469 |
|
| 9 | +- an apache reverse proxy which enables SSL for this wiki |
|
| 10 | + |
|
| 11 | +## Systemd service |
|
| 12 | + |
|
| 13 | +``` |
|
| 14 | +[Unit] |
|
| 15 | +Description=Gollum wiki service |
|
| 16 | +After=network.target |
|
| 17 | +StartLimitIntervalSec=0 |
|
| 18 | + |
|
| 19 | +[Service] |
|
| 20 | +Type=simple |
|
| 21 | +Restart=always |
|
| 22 | +RestartSec=1 |
|
| 23 | +User=philipp |
|
| 24 | +ExecStart=/usr/local/bin/gollum --host localhost --port 8469 --bare --no-edit --emoji /path/to/wiki.git |
|
| 25 | + |
|
| 26 | +[Install] |
|
| 27 | +WantedBy=multi-user.target |
|
| 28 | +``` |
|
| 29 | + |
|
| 30 | +`--no-edit` means, that the wiki can only be edited by pushing new commits and not from the web interface. `--emoji` enables emoji rendering support, which is very important! |
|
| 31 | + |