_gopherhole@6e44010989 | ||
_http | ||
_input | ||
src | ||
.gitignore | ||
cabal.nix | ||
ChangeLog.md | ||
default.nix | ||
LICENSE | ||
README.md | ||
rf.cabal | ||
rf.nix | ||
rfg.sh | ||
shell.nix |
Regular Flolloping
tA's Blog, currently hosted at Regular Flolloping
Getting Started
What you need to get the generator up and running.
Prerequisites
Built using Nix. Nix can be installed with:
curl https://nixos.org/nix/install | sh
Dependencies
imagemagick
is required for the favicons.
Installing
Compile the generator
nix-build rf.nix
Enter the build environment
nix-shell --pure
Generate the site
./result/site rebuild
And test it out
./result/site watch
The site will now be avaliable at localhost:8000
Deployment
Site will be completely static, so simply point your server to the _site
directory
if you edit the values in rfg.sh or notNixOSrfg.sh to point to your git repo, you can run;
nix-shell --pure --run "./rfg.sh"
or
nix-shell --pure --run "./notNixOSrfg.sh"
to automatically build up upload a gopher mirror, such as to work with lain.church
this will also build the http site
Built With
- Hakyll - The web framework used
- hakyll-favicon - Thanks Elie!
- Nix - Package Management
- Cabal - Build System
Versioning
Is very airy fairy and mainly based on what I think constitutes major / minor updates.
Authors
- Shaun Kerr - tA
License
This project is licensed under the BSD3 License - see the LICENSE file for details
Acknowledgments
- Hakyll for having an incredible default, of which
90% was kepti gutted for a crappy light on dark style - Elie Génard for their favicon library, very easy to use.
- Douglas Adam's for providing the name
- You, for reading this :)