tA's crappy blog
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 1.9KB

5 years ago
5 years ago
5 years ago
5 years ago
4 years ago
5 years ago
5 years ago
5 years ago
4 years ago
5 years ago
4 years ago
5 years ago
5 years ago
4 years ago
5 years ago
4 years ago
5 years ago
4 years ago
5 years ago
5 years ago
5 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. # Regular Flolloping
  2. tA's Blog, currently hosted at [Regular Flolloping](https://regularflolloping.com)
  3. ## Getting Started
  4. What you need to get the generator up and running.
  5. ### Prerequisites
  6. Built using Nix.
  7. Nix can be installed with:
  8. ```
  9. curl https://nixos.org/nix/install | sh
  10. ```
  11. ### Dependencies
  12. `imagemagick` is required for the favicons.
  13. ### Installing
  14. Enter the build environment
  15. ```
  16. nix-shell --pure
  17. ```
  18. Compile the generator
  19. ```
  20. nix-build
  21. ```
  22. Generate the site
  23. ```
  24. ./result/site rebuild
  25. ```
  26. And test it out
  27. ```
  28. ./result/site watch
  29. ```
  30. The site will now be avaliable at `localhost:8000`
  31. ## Deployment
  32. Site will be completely static, so simply point your server to the `_site` directory
  33. if you edit the values in [rfg.sh](rfg.sh) to point to your git repo, you can run;
  34. ```
  35. nix-shell --pure --run "./rfg.sh"
  36. ```
  37. to automatically build up upload a gopher mirror, such as to work with [lain.church](https://lain.church)
  38. this will also build the http site
  39. if you're not running NixOS, then please edit the bang line in the script to point to your bash installation.
  40. ## Built With
  41. * [Hakyll](https://jaspervdj.be) - The web framework used
  42. * [hakyll-favicon](https://github.com/elaye/hakyll-favicon) - Thanks Elie!
  43. * [Nix](https://nixos.org) - Package Management
  44. * [Cabal](https://cabal.readthedocs.io) - Build System
  45. ## Versioning
  46. Is very airy fairy and mainly based on what I think constitutes major / minor updates.
  47. Check the [ChangeLog](ChangeLog.md) for changes, if I remember to write them.
  48. ## Authors
  49. * **Shaun Kerr** - [tA](https://git.lain.church/tA)
  50. ## License
  51. This project is licensed under the BSD2 License - see the [LICENSE](LICENSE) file for details
  52. ## Acknowledgments
  53. * Hakyll for having an incredible default, of which ~~90% was kept~~ i gutted for a crappy light on dark style
  54. * Elie Génard for their favicon library, very easy to use.
  55. * Douglas Adam's for providing the name
  56. * You, for reading this :)