From 78ef5cef2364b294c2e2260214d2525f4f54e3ff Mon Sep 17 00:00:00 2001 From: Yax Date: Sun, 28 Sep 2025 11:39:54 +0200 Subject: [PATCH 1/2] Update README --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index c143f1c..37796d4 100755 --- a/README.md +++ b/README.md @@ -1,10 +1,9 @@ # Blog du Yax This blog is built on top of the great work performed by fspaolo on [Makesite.py](https://github.com/fspaolo/makesite). -I cut some features and wristed the code to focus on blog posts and support my [commenting system](https://github.com/kianby/stacosys). You should check fspaolo's repository to really understand Makesite.py's philosophy and find technical details. +I cut some features and wristed the code to focus on blog posts and support my [commenting system](https://gitea.zaclys.com/yannic/stacosys). 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](https://creativecommons.org/licenses/by-nc-sa/3.0) -Moved as private repository to gitea.zaclys.net on 2025-03-29. From 12e6465264aef2273e84c119a89246b62e8304c3 Mon Sep 17 00:00:00 2001 From: Yax Date: Sun, 28 Sep 2025 11:40:03 +0200 Subject: [PATCH 2/2] Remove deprecated site_remote target --- Makefile | 23 +++++------------------ 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/Makefile b/Makefile index 82489fa..0ba09c6 100644 --- a/Makefile +++ b/Makefile @@ -1,31 +1,18 @@ # Makefile +# build target should be built even if no files depend on it .PHONY: build -# if a file .local exists run site locally -ifeq ($(wildcard .local),) - TARGET = site_remote -else - TARGET = site_local -endif - -site: site_local - echo $(TARGET) - -site_remote: - git pull - makesite - systemctl reload nginx - -site_local: +# run locally +site: uv run python makesite.py --params params-local.json cd _site && python -m SimpleHTTPServer 2> /dev/null || python3 -m http.server -# docker build +# docker build image build: docker build -t source.madyanne.fr/yax/blog . -# docker publish +# docker publish image publish: docker push source.madyanne.fr/yax/blog