Fancy next-gen Angestöpselt Homepage
Find a file
2021-10-04 21:45:34 +02:00
nix Update Nix script 2021-09-29 20:54:51 +02:00
src Formatierung Block zu Datenlöschung 2021-10-04 21:45:34 +02:00
.editorconfig Initial Grav port 2021-07-08 15:51:22 +02:00
.eleventy.js Add an run prettier, Add backend dependencies 2021-09-29 20:12:54 +02:00
.eleventyignore Refactor directory layout 2021-09-29 19:43:59 +02:00
.gitignore Update Nix script 2021-09-29 20:54:51 +02:00
.prettierrc Add an run prettier, Add backend dependencies 2021-09-29 20:12:54 +02:00
flake.lock Add initial Nix build setup 2021-09-27 16:07:06 +02:00
flake.nix Reformat flake file 2021-09-29 20:13:24 +02:00
package-lock.json Add an run prettier, Add backend dependencies 2021-09-29 20:12:54 +02:00
package.json Update dev:styles script 2021-09-30 12:33:03 +02:00
README.md Refactor directory layout 2021-09-29 19:43:59 +02:00

Angestöpselt Homepage

This repository contains the next version of Angestöpselt's homepage, intended to be hosted at <angestoepselt.de>. It is built with the Eleventy static site generator, using SCSS for stylesheets.

Local development environment

To build the site locally, make sure you have Node installed (currently tested with version 14). Then run:

npm install
npm run build:styles
npm run dev:site

Go to https://localhost:8080/, which will update live when content changes (the initial build may take some time to render out the different image sizes). If you make style changes, make sure to recompile the CSS files with the second of the above commands. Alternatively, run npm run dev:styles in an additional terminal to watch for changes.

Nix environment

This repository also contains a Nix flake which contains the full development environment. nix develop will open a shell with all required tools you don't need to run npm install anymore.

When Node dependencies are updated (this will change package.json), make sure to run ./_nix/update.sh to update the npm lockfile and the Nix environment.

The flake also contains a second package for building the production output:

nix build .#angestoepselt-site

The final derivation contains a www folder that can be served.