The Dense Analysis website built with Hugo to generate the entire site as static content. The site is served as static content to keep maintenance costs low, to improve performance, and to increase security.
This project uses an AGPL licence to ensure that it will always be available for those who need it.
Use Docker to run the site with Hugo. Docker Desktop is the easiest to use on all platforms. Make sure you have pulled submodules for templates.
git submodule update --init
docker compose up
The site will be built into the public
directory, which can be served via
nginx or Apache. See the rest of the
Hugo documentation
for knowledge on how to build sites with Hugo.
Just run ./deploy.sh
on a server, which is what GitHub actions will execute on
the Dense Analysis host. This just runs docker compose run site 'hugo'
after
pulling the latest code to build the files with the same Hugo Docker image used
for local development.