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:
parent
199911aaae
commit
3b7484fbe6
9 changed files with 94 additions and 44 deletions
7
.env
Normal file
7
.env
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue