tA's crappy blog
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Thorn Avery 0e981fb9ff big cleanup 4 年前
_gopherhole @ 6e44010989 big cleanup 4 年前
_http big cleanup 4 年前
_input big cleanup 4 年前
src big cleanup 4 年前
.gitignore big cleanup 4 年前
ChangeLog.md big cleanup 4 年前
LICENSE big cleanup 4 年前
README.md hope this works 5 年前
cabal.nix big cleanup 4 年前
default.nix big cleanup 4 年前
rf.cabal big cleanup 4 年前
rf.nix hope this works 5 年前
rfg.sh big cleanup 4 年前
shell.nix big cleanup 4 年前

README.md

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

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 kept i 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 :)