/paul.landazuri.fr

My little corner of the web — using Hugo

Primary LanguageDockerfile

Paul Landázuri's little corner of the web

This is the source code for my personal website: https://paul.landazuri.fr.

It is a static website generated using Hugo and the Nightfall theme.

Local development

To run this website locally, follow the steps below:

  1. Install the extended version of Hugo: see official documentation.
  2. Install Dart Sass: see official documentation.
  3. Run the Hugo server: hugo server -D

Deployment & Continuous Integration (CI)

This website is containerised using Docker (see the Dockerfile) and deployed on my personal microk8s cluster.

For efficiency reasons, the website is not built in an extra Dockerfile stage. Instead, this project leverages the GitHub Actions (see main.yaml) and simply copies the generated public folder into the NGINX webserver, which is configured to optimise speed with caching and file compression (see nginx.conf).