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 Normal file
View file

@ -0,0 +1,7 @@
# Site configuration (production)
TITLE=Le blog du Yax
SUBTITLE=GNU, Linux, BSD et autres libertés
AUTHOR=Yax
SITE_URL=https://blogduyax.madyanne.fr
STACOSYS_URL=http://stacosys:8100/api
EXTERNAL_CHECK=./check_git.sh