rf/README.md

74 lines
1.4 KiB
Markdown
Raw Normal View History

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
Assumes you have Cabal and Nix.
Nix can be installed with:
```
curl https://nixos.org/nix/install | sh
```
And Cabal can be installed with your package manager of choice.
### 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
* [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
* Hakyll for having an incredible default, of which 90% was kept
* Douglas Adam's for providing the name
* You, for reading this :)