Skip to content

alexpearce/home

Repository files navigation

Blog

This is the source for my blog.

It uses Astro to generate a static site which is deployed and served by Netlify.

Comment threads are made as GitHub issues. You can comment directly on the site at the bottom of each post, or on an existing issue on GitHub if one exists.

Building

I use Nix to manage development dependencies, as specified in the flake.nix flake. If you have Nix and direnv installed, run direnv allow to enable automatic activation of the development environment. Otherwise, having access to a a recent npm will suffice.

To work with the project:

# Install dependencies.
npm install
# Generate the static site under `dist/`.
npm run build
# Run linting and type checks.
npm run check
# Start a live-reloading development server.
npm run dev