Document production startup and remove publishing test album

This commit is contained in:
2026-09-19 14:31:32 +03:30
parent 3a4a7893d8
commit ec8acc0eef
4 changed files with 7 additions and 17 deletions
+7 -5
View File
@@ -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