2022-11-25 00:54:51 +00:00
|
|
|
# VeganPrestwich.co.uk
|
|
|
|
|
|
|
|
We want to catalog the best places for vegan food and vegan-friendly shops in Prestwich.
|
|
|
|
|
|
|
|
Feel free to make a pull request, or join the discussion on [Facebook](https://www.facebook.com/groups/veganprestwich/)
|
|
|
|
|
|
|
|
* [VeganPrestwich.co.uk](https://veganprestwich.co.uk)
|
|
|
|
* [Facebook Group](https://www.facebook.com/groups/veganprestwich/)
|
2024-11-08 03:44:34 +00:00
|
|
|
* [Instagram Page](https://www.instagram.com/veganprestwich/)
|
2024-11-08 03:42:10 +00:00
|
|
|
|
|
|
|
## Building This Site
|
|
|
|
|
2024-11-27 10:03:11 +00:00
|
|
|
This site is built with [Eleventy](https://www.11ty.dev) and deployed using [Nix / Nixos](https://nixos.org/)
|
2024-11-08 03:42:10 +00:00
|
|
|
|
2024-11-27 10:03:11 +00:00
|
|
|
### default.nix [(link)](https://git.chobble.com/chobble/vegan-prestwich/src/branch/master/default.nix)
|
2024-11-08 03:42:10 +00:00
|
|
|
|
|
|
|
- deletes `_site` folder
|
|
|
|
- creates `_site/style`
|
|
|
|
- compiles the SCSS in `style` to CSS in `_site/style`
|
|
|
|
- minifies and adds vendor prefixes to the CSS using `lightningcss`
|
|
|
|
- builds the site to HTML using Eleventy, into `_site`
|
|
|
|
- minifies the HTML using `html-minifier`
|
2024-11-27 10:03:11 +00:00
|
|
|
- copies the output to `$out`
|
|
|
|
|
|
|
|
### shell.nix [(link)](https://git.chobble.com/chobble/vegan-prestwich/src/branch/master/shell.nix)
|
|
|
|
|
|
|
|
- if you call `serve`:
|
|
|
|
- deletes `_site` folder
|
|
|
|
- creates `_site/style`
|
|
|
|
- compiles the SCSS in `style` to CSS in `_site/style`
|
|
|
|
- builds the site to HTML using Eleventy, into `_site`
|
|
|
|
- serves it up on http://localhost:8080
|
|
|
|
- if you call `upgrade_deps`:
|
|
|
|
- upgrades the `yarn.lock` file to the latest version of Eleventy
|