my website
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

update readme

chfour 61764424 9199068a

+6 -4
+6 -4
README.md
··· 3 3 not to be confused with: "web3", actually more like website3¾ 4 4 5 5 this should reproduce the nix store path on the website: 6 - `nix build git+https://tangled.org/eeep.ee/website3 --no-link --print-out-paths` 6 + `nix build git+https://tangled.org/eeep.ee/website3#website.out --no-link --print-out-paths` 7 7 8 8 [this](https://tangled.org/eeep.ee/nixos/blob/main/machines/fovps/services/caddy/website.nix) 9 9 is the other part of the code that makes this run and it is a beautifully cursed 10 10 rube goldberg machine that exists just so i can update the website independently 11 11 12 - run the following to serve everything locally: 13 - `nix run nixpkgs#caddy -- file-server -l 0.0.0.0:8000 -a -r "$(nix build .#website.out --no-link --print-out-paths)/var/www"` 12 + to serve everything locally like in prod you'll have to use this slightly cursed oneliner, i'm afraid: 13 + ```sh 14 + caddy run -a caddyfile -c <(echo 'http://:8000'; cat "$(nix build .#caddyfile --no-link --print-out-paths)"/etc/caddy/Caddyfile) 15 + ``` 14 16 15 17 or for development: 16 18 `nix run .#autorebuild -- src/blog` 17 - and `caddy file-server -l 0.0.0.0:8000 -r -a src/` 19 + and `caddy run --watch`