Development setup

To set up your development environment, install Git, Make, a Go compiler, govulncheck and staticcheck, and Lua with the semver library, e.g.:

sudo apt install git make golang govulncheck go-staticcheck luarocks
sudo luarocks install semver

In order to generate the website (with make site), you will also need Curl, PlantUML, and R. (Curl is probably already installed on your system.)

sudo apt install curl plantuml r-base-core

Clone the source code:

git clone https://git.sr.ht/~javiljoen/doxyte
cd doxyte

Run make check to verify that everything is set up correctly.

Set up Git hooks:

echo "make check check-deps" > .git/hooks/pre-push
chmod +x .git/hooks/pre-push

If you are me, you will also need hut in order to publish the docs, and Podman in order to build and publish the container.