Replace JSON config with .env files

- Add python-dotenv dependency for environment variable loading
- Replace params.json and params-local.json with .env files
- Add --local and --local-stacosys flags to makesite.py
- Update Makefile to auto-detect stacosys availability
- Document configuration and usage in README.md
This commit is contained in:
Yax 2026-01-10 16:03:08 +01:00
parent 199911aaae
commit 3b7484fbe6
9 changed files with 94 additions and 44 deletions

7
.env.local Normal file
View file

@ -0,0 +1,7 @@
# Site configuration (local development)
TITLE=Le blog du Yax
SUBTITLE=GNU, Linux, BSD et autres libertés
AUTHOR=Yax
SITE_URL=http://127.0.0.1:8000
STACOSYS_URL=
EXTERNAL_CHECK=./check_git.sh