The following dependencies are required to work on passkeys.dev locally:
- Golang 1.23.x
- Hugo v0.140.x
- markdownlint-cli2 (installed globally)
Once these are installed, enable pre-commit linting:
- In the project folder, run
git config core.hooksPath .git-hooks
- Make the hook executable:
chmod a+x .git-hooks/pre-commit
Then run hugo server
to start the dev server!
The site will be available locally at http://localhost:1313.
It is recommended to use Hugo Version Manager to ensure you're running the same version of Hugo as the server-side build process.
Installation and setup instructions here: https://github.com/jmooring/hvm
HVM will automatically pull the correct version from .hvm
.