Fancy next-gen Angestöpselt Homepage
Find a file
2022-03-22 15:33:41 +01:00
cgi-bin Add attachment support for forms 2022-03-17 13:45:08 +01:00
nix Update dependencies 2022-03-16 15:25:29 +01:00
playground Add initial backend implementation 2022-03-16 15:24:58 +01:00
src Fix CoderDojo link 2022-03-22 15:33:41 +01:00
.editorconfig Add initial backend implementation 2022-03-16 15:24:58 +01:00
.eleventy.js Update formatting settings and reformat the codebase 2022-03-15 09:38:13 +01:00
.eleventyignore Refactor directory layout 2021-09-29 19:43:59 +02:00
.git-blame-ignore-revs Add .git-blame-ignore-revs 2022-03-15 09:38:47 +01:00
.gitignore Add attachment support for forms 2022-03-17 13:45:08 +01:00
.prettierignore Run Prettier on the site content 2022-02-24 18:13:43 +01:00
.prettierrc Update formatting settings and reformat the codebase 2022-03-15 09:38:13 +01:00
flake.lock Update dependencies 2022-03-16 15:25:29 +01:00
flake.nix Add attachment support for forms 2022-03-17 13:45:08 +01:00
httpd.conf Add attachment support for forms 2022-03-17 13:45:08 +01:00
package-lock.json Update dependencies 2022-03-16 15:25:29 +01:00
package.json Update dependencies 2022-03-16 15:25:29 +01:00
README.md Begin with internal overview page 2022-02-24 18:48:05 +01: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. Run nix build ".#angestoepseltSiteEnv" -o .dev to get a running Node environment in the .dev folder (for example to configure an IDE).

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 # Will create an output derivation in 'result'

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