this is a (proposed) new version of edinburghhacklab.com. rather than a wordpress site, it is statically generated. it's also noticeably more minimal than the previous version.
if you just want to see what it looks like, go here.
- we're bad at maintaining our wordpress instance, and that's unlikely to change. a static site needs much less maintenance, although it comes at the cost of requiring more knowledge to edit.
- hacking on wordpress themes is kinda miserable, meaning changing how our site looks is annoying
- fun
requirements:
if you use nix, a shell.nix is provided.
if you're comfortable developing in a docker container, you can build one with the provided Dockerfile.
to build once, run just build. the output is in build/.
to serve the built output, run just serve. this requires python 3.
to rebuild the website on any changes, run just watch. this requires watchexec.
to serve the website, and rebuild it on any changes, run just dev.
to clear your cache and built output, run just clean.
main is automatically built and pushed by github actions. for now, you will need to make your own arrangements if wanting to deploy draft versions (from PRs, etc)