From ec8acc0eef644ce33fa77c9763ed4ffab1607242 Mon Sep 17 00:00:00 2001 From: Mahdi Dibaiee Date: Sat, 19 Sep 2026 14:31:32 +0330 Subject: [PATCH] Document production startup and remove publishing test album --- ...03c294f5ea4f5aa53bafc8466de87f8c726dccaeecc.md | 12 ------------ .../00.jpg | Bin 293 -> 0 bytes .../01.jpg | Bin 292 -> 0 bytes photo-upload/README.md | 12 +++++++----- 4 files changed, 7 insertions(+), 17 deletions(-) delete mode 100644 _art/2026-09-19-photo-ff06699cab02243643ede03c294f5ea4f5aa53bafc8466de87f8c726dccaeecc.md delete mode 100644 img/arts/uploads/ff06699cab02243643ede03c294f5ea4f5aa53bafc8466de87f8c726dccaeecc/00.jpg delete mode 100644 img/arts/uploads/ff06699cab02243643ede03c294f5ea4f5aa53bafc8466de87f8c726dccaeecc/01.jpg diff --git a/_art/2026-09-19-photo-ff06699cab02243643ede03c294f5ea4f5aa53bafc8466de87f8c726dccaeecc.md b/_art/2026-09-19-photo-ff06699cab02243643ede03c294f5ea4f5aa53bafc8466de87f8c726dccaeecc.md deleted file mode 100644 index f2645a4..0000000 --- a/_art/2026-09-19-photo-ff06699cab02243643ede03c294f5ea4f5aa53bafc8466de87f8c726dccaeecc.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -layout: post -title: "photo-ff06699cab02243643ede03c294f5ea4f5aa53bafc8466de87f8c726dccaeecc" -date: "2026-09-19T10:56:52.202244+00:00" -categories: art ---- - -
- -

Temporary publishing check; this entry will be removed after verification.

-

Temporary publishing check; this entry will be removed after verification.

-Temporary publishing check; this entry will be removed after verification. diff --git a/img/arts/uploads/ff06699cab02243643ede03c294f5ea4f5aa53bafc8466de87f8c726dccaeecc/00.jpg b/img/arts/uploads/ff06699cab02243643ede03c294f5ea4f5aa53bafc8466de87f8c726dccaeecc/00.jpg deleted file mode 100644 index 200c46cd93c41b0816a39b8eb0ad373eb3ad2721..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 293 zcmb7=Yx zo%&-Bhych1=>-Rnf|(6nN~tI(Qi^o8nCGRoWvPv^zNxIMy)o6Ms@EaLXqRo*hOP-Q z3`>x$q^KY&f-^4sO}c{5AV3hfg_%d;G2NgZqrx}D^2%}cDXccgOjS8f`yZA6eu5Ur PcZ7!>T=2Xfd^SBkz*!-7 diff --git a/img/arts/uploads/ff06699cab02243643ede03c294f5ea4f5aa53bafc8466de87f8c726dccaeecc/01.jpg b/img/arts/uploads/ff06699cab02243643ede03c294f5ea4f5aa53bafc8466de87f8c726dccaeecc/01.jpg deleted file mode 100644 index d29a52cfe5f2b335e71f474e24dc16ce62e717f2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 292 zcmb7$-B;54{^& z*SWZaf|V6#%$YOVxWDli*aQwv&=xaG!jiwD`9#Gx9OT-B>{H?}#lI$~IBb7a_y=-9 Q;f%1@;Y_DGx;Fm)2BKUcBLDyZ diff --git a/photo-upload/README.md b/photo-upload/README.md index f8df640..5c1fa50 100644 --- a/photo-upload/README.md +++ b/photo-upload/README.md @@ -52,10 +52,10 @@ installs. Runtime upgrades are separate from this change. ## Server setup -The live server is Ubuntu 24.04. nginx currently serves -`/home/mahdi/theread.me/_site`. `/home/mahdi/update-server/update-server.js` exists, -was not running, and uses a different port from nginx's old `/_update` route. -Podman is not installed. The new workflow replaces that rebuild hook. +The server is Ubuntu 24.04. Before this setup, nginx served +`/home/mahdi/theread.me/_site`. `/home/mahdi/update-server/update-server.js` existed, +was not running, and used a different port from nginx's old `/_update` route. +The new workflow replaces that rebuild hook. 1. Install Podman and a Compose provider (`sudo apt-get install podman podman-compose`). 2. Keep this service in its own checkout, e.g. `/home/mahdi/blog-photo-service`. @@ -78,6 +78,7 @@ cd /home/mahdi/blog-photo-service/photo-upload cp .env.example .env # Adjust absolute paths if needed. podman compose config +systemctl --user enable --now podman.socket podman compose up -d --build podman compose logs -f publisher ``` @@ -104,8 +105,9 @@ For reboot persistence, create `~/.config/systemd/user/blog-photos.service`: ```ini [Unit] Description=Blog photo uploads -After=network-online.target +After=network-online.target podman.socket Wants=network-online.target +Requires=podman.socket [Service] Type=oneshot