2018-08-18 07:24:54 -04:00
|
|
|
# Regular Flolloping
|
|
|
|
|
2018-08-19 21:08:34 -04:00
|
|
|
tA's Blog, currently hosted at [Regular Flolloping](https://regularflolloping.com)
|
2018-08-18 07:24:54 -04:00
|
|
|
|
|
|
|
## Getting Started
|
|
|
|
|
|
|
|
What you need to get the generator up and running.
|
|
|
|
|
|
|
|
### Prerequisites
|
|
|
|
|
2018-08-22 21:26:52 -04:00
|
|
|
Built using Nix.
|
2018-08-18 07:24:54 -04:00
|
|
|
Nix can be installed with:
|
|
|
|
```
|
|
|
|
curl https://nixos.org/nix/install | sh
|
|
|
|
```
|
|
|
|
|
2018-08-24 22:31:46 -04:00
|
|
|
### Dependencies
|
|
|
|
|
|
|
|
`imagemagick` is required for the favicons.
|
|
|
|
|
2018-08-18 07:24:54 -04:00
|
|
|
### Installing
|
|
|
|
|
|
|
|
Enter the build environment
|
|
|
|
|
|
|
|
```
|
|
|
|
nix-shell --attr env rf.nix
|
|
|
|
```
|
|
|
|
|
|
|
|
Compile the generator
|
|
|
|
|
|
|
|
```
|
2018-08-19 22:20:18 -04:00
|
|
|
nix-build rf.nix
|
|
|
|
```
|
2018-08-18 07:24:54 -04:00
|
|
|
|
|
|
|
Generate the site
|
|
|
|
|
|
|
|
```
|
2018-08-19 22:20:18 -04:00
|
|
|
./result/site clean
|
|
|
|
./result/site build
|
2018-08-18 07:24:54 -04:00
|
|
|
```
|
|
|
|
|
|
|
|
And test it out
|
|
|
|
|
|
|
|
```
|
2018-08-19 22:20:18 -04:00
|
|
|
./result/site watch
|
2018-08-18 07:24:54 -04:00
|
|
|
```
|
|
|
|
|
|
|
|
The site will now be avaliable at `localhost:8000`
|
|
|
|
|
|
|
|
## Deployment
|
|
|
|
|
|
|
|
Site will be completely static, so simply point your server to the `_site` directory
|
|
|
|
|
|
|
|
## Built With
|
|
|
|
|
|
|
|
* [Hakyll](https://jaspervdj.be) - The web framework used
|
2018-08-22 21:26:52 -04:00
|
|
|
* [hakyll-favicon](https://github.com/elaye/hakyll-favicon) - Thanks Elie!
|
2018-08-18 07:24:54 -04:00
|
|
|
* [Nix](https://nixos.org) - Package Management
|
|
|
|
* [Cabal](https://cabal.readthedocs.io) - Build System
|
|
|
|
|
|
|
|
## Versioning
|
|
|
|
|
|
|
|
Is very airy fairy and mainly based on what I think constitutes major / minor updates.
|
|
|
|
|
|
|
|
## Authors
|
|
|
|
|
|
|
|
* **Shaun Kerr** - [tA](https://github.com/techieAgnostic)
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
2018-08-19 21:05:37 -04:00
|
|
|
This project is licensed under the BSD3 License - see the [LICENSE](LICENSE) file for details
|
2018-08-18 07:24:54 -04:00
|
|
|
|
|
|
|
## Acknowledgments
|
|
|
|
|
2018-08-23 00:25:17 -04:00
|
|
|
* Hakyll for having an incredible default, of which ~~90% was kept~~ i gutted for a crappy light on dark style
|
2018-08-22 21:26:52 -04:00
|
|
|
* Elie Génard for their favicon library, very easy to use.
|
2018-08-18 07:24:54 -04:00
|
|
|
* Douglas Adam's for providing the name
|
|
|
|
* You, for reading this :)
|