feat: add justfile with preview recipes for each site
This commit is contained in:
parent
e76b017e81
commit
4853e5b360
1 changed files with 23 additions and 0 deletions
23
justfile
Normal file
23
justfile
Normal 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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue