blob: 33e4760476b7a481e14de2f81a6ed59bf4b3c06d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# www
Himbeerserver v3, formerly known as
[www.himbeerserver.de](https://github.com/HimbeerserverDE/www.himbeerserver.de).
This is a simple static markdown website and cgit instance powered by caddy.
No JavaScript is used, but there is a global CSS stylesheet.
The `sys` directory contains the filesystem structure to copy to the rootfs.
This repository should be cloned to `/srv/www`.
The `install.sh` script creates symlinks for configuration files to `/srv/www`,
overwriting existing files.
The `uninstall.sh` script removes them again without restoring the original files.
## Required system packages
Alpine:
```
apk add caddy cgit python3 py3-markdown py3-pygments
```
## Required caddy plugins
cgit requires regular CGI (not fastcgi):
```
caddy add-package github.com/aksdb/caddy-cgi/v2
```
## HTTPS
This configuration handles HTTPS setup automatically.
|