Blog du Yax
| docker | ||
| layout | ||
| notes | ||
| posts | ||
| static | ||
| test | ||
| .coveragerc | ||
| .env | ||
| .env.local | ||
| .env.local-stacosys | ||
| .gitignore | ||
| check_git.sh | ||
| Dockerfile | ||
| LICENSE.md | ||
| Makefile | ||
| makesite.py | ||
| monitor.py | ||
| pyproject.toml | ||
| README.md | ||
Blog du Yax
This blog is built on top of the great work performed by fspaolo on Makesite.py. I cut some features and wristed the code to focus on blog posts and support my commenting system. You should check fspaolo's repository to really understand Makesite.py's philosophy and find technical details.
This static blog generator code is under MIT license.
"Blog du Yax" content is under CC-BY-NC-SA
Configuration
Configuration is managed through .env files:
| File | Description |
|---|---|
.env |
Production configuration |
.env.local |
Local development (no Stacosys) |
.env.local-stacosys |
Local development with local Stacosys |
Environment variables:
TITLE- Site titleSUBTITLE- Site subtitleAUTHOR- Author nameSITE_URL- Base URL for the siteSTACOSYS_URL- Stacosys API endpoint (optional)EXTERNAL_CHECK- Script for git change detection
Usage
# Production build (uses .env)
uv run python makesite.py
# Local development without Stacosys (uses .env.local)
uv run python makesite.py --local
# Local development with local Stacosys (uses .env.local-stacosys)
uv run python makesite.py --local-stacosys
# Or use make for local development
make site