This is my personal website. See it here
The site may be built with nix build
The result/
folder will contain the static output.
Deployment happens with a GitHub actions workflow that builds and uploads the deployment to CloudFlare pages.
Why CloudFlare pages? It's free and seemed easy enough to setup.
The local development server is started with nix run
in this repo's root. This starts 3 processes:
- Zola local server
- TailwindCSS watch process
- Data file periodic refresh
Alternatively, the website can be served locally using the build.pl
script with the watch
argument.
The fetch
argument gathers some metadata about the repository that is used on the website.
The build
argument will build the website.
When building with Nix or using the development server, Nix will build a data file (.nix-data.json
),
that provides metadata to the build site.
Some data sources are fetched by the build.pl
script that creates a .data.yml
file.
The website is a static website generated with zola, stylized with the help of tailwindcss, built using nix