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

5 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. # Regular Flolloping
  2. tA's Blog
  3. ## Getting Started
  4. What you need to get the generator up and running.
  5. ### Prerequisites
  6. Assumes you have Cabal and Nix.
  7. Nix can be installed with:
  8. ```
  9. curl https://nixos.org/nix/install | sh
  10. ```
  11. And Cabal can be installed with your package manager of choice.
  12. ### Installing
  13. Enter the build environment
  14. ```
  15. nix-shell --attr env rf.nix
  16. ```
  17. Compile the generator
  18. ```
  19. cabal build
  20. ```
  21. Generate the site
  22. ```
  23. cabal run site clean
  24. cabal run site build
  25. ```
  26. And test it out
  27. ```
  28. cabal run 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. ## Built With
  34. * [Hakyll](https://jaspervdj.be) - The web framework used
  35. * [Nix](https://nixos.org) - Package Management
  36. * [Cabal](https://cabal.readthedocs.io) - Build System
  37. ## Versioning
  38. Is very airy fairy and mainly based on what I think constitutes major / minor updates.
  39. ## Authors
  40. * **Shaun Kerr** - [tA](https://github.com/techieAgnostic)
  41. ## License
  42. This project is licensed under the BSD3 License - see the [LICENSE.md](LICENSE.md) file for details
  43. ## Acknowledgments
  44. * Hakyll for having an incredible default, of which 90% was kept
  45. * Douglas Adam's for providing the name
  46. * You, for reading this :)