feat: add justfile with preview recipes for each site

This commit is contained in:
randogoth 2026-10-06 07:39:50 +03:00
parent e76b017e81
commit 4853e5b360

23
justfile Normal file
View file

@ -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