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.8KB

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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. Compile the generator
  15. ```
  16. nix-build rf.nix
  17. ```
  18. Enter the build environment
  19. ```
  20. nix-shell --pure
  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) or [notNixOSrfg.sh](notNixOSrfg.sh) to point to your git repo, you can run;
  34. ```
  35. nix-shell --pure --run "./rfg.sh"
  36. ```
  37. or
  38. ```
  39. nix-shell --pure --run "./notNixOSrfg.sh"
  40. ```
  41. to automatically build up upload a gopher mirror, such as to work with [lain.church](https://lain.church)
  42. this will also build the http site
  43. ## Built With
  44. * [Hakyll](https://jaspervdj.be) - The web framework used
  45. * [hakyll-favicon](https://github.com/elaye/hakyll-favicon) - Thanks Elie!
  46. * [Nix](https://nixos.org) - Package Management
  47. * [Cabal](https://cabal.readthedocs.io) - Build System
  48. ## Versioning
  49. Is very airy fairy and mainly based on what I think constitutes major / minor updates.
  50. ## Authors
  51. * **Shaun Kerr** - [tA](https://github.com/techieAgnostic)
  52. ## License
  53. This project is licensed under the BSD3 License - see the [LICENSE](LICENSE) file for details
  54. ## Acknowledgments
  55. * Hakyll for having an incredible default, of which ~~90% was kept~~ i gutted for a crappy light on dark style
  56. * Elie Génard for their favicon library, very easy to use.
  57. * Douglas Adam's for providing the name
  58. * You, for reading this :)