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 license 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 immediately start and you can view it at http://localhost:1313
You can validate pages via the ./validate-path.sh
script by passing in a path
to a page or a file path in the content/
directory.
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.
You can validate pages via the ./validate-path.sh
script by passing in a path
to a page or a file path in the content/
directory. Files will be pulled in
from the public
directory for validation.
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.