From 4853e5b360215efe6a40fbd1a09ba979d3516471 Mon Sep 17 00:00:00 2001 From: randogoth Date: Tue, 6 Oct 2026 07:39:50 +0300 Subject: [PATCH] feat: add justfile with preview recipes for each site --- justfile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 justfile diff --git a/justfile b/justfile new file mode 100644 index 0000000..5bd67d5 --- /dev/null +++ b/justfile @@ -0,0 +1,23 @@ +# List available recipes +default: + @just --list + +# Build and serve one site with autoreload on content changes +preview site port: + cd {{site}} && uv run --quiet --with pelican --with markdown -- pelican content -o output -s pelicanconf.py -lr -p {{port}} + +# Preview flux.vision at http://localhost:8110 +flux: (preview "flux.vision" "8110") + +# Preview tobias.raayoni-last.com at http://localhost:8111 +tobias: (preview "tobias.raayoni-last.com" "8111") + +# Preview randogoth.com at http://localhost:8112 +randogoth: (preview "randogoth.com" "8112") + +# Preview all three sites at once, each on its own port +preview-all: + just flux & + just tobias & + just randogoth & + wait