Configure admin title and deploy docs

This commit is contained in:
Your Name
2026-07-28 12:37:04 +05:00
parent bb2c58e02f
commit 3ab8a7b4f2
7 changed files with 68 additions and 88 deletions
+16 -22
View File
@@ -1,28 +1,22 @@
# N8 Parser: current state
Last updated: 2026-06-17
Last updated: 2026-07-28
This file is the short handoff state for future Codex threads. Read this first before touching the project, so the whole chat history does not need to be carried forward.
## Server
## Runtime / Deploy
- Production host: `109.120.156.205`
- Domain: `https://sw.exostring.xyz`
- App directory on server: `/opt/vk-parser`
- Timezone: `Asia/Yekaterinburg`
- Main services:
- `vk-parser-admin.service`
- `vk-parser.service`
- `vk-storage-uploader.service`
- `ai-qualifier.service`
- `ai-writer.service`
- `site-poster.service`
- Useful commands:
- `cd /opt/vk-parser`
- `systemctl status vk-parser-admin.service ai-qualifier.service ai-writer.service`
- `journalctl -u ai-writer.service -n 100 --no-pager`
- `journalctl -u ai-qualifier.service -n 100 --no-pager`
- `PYTHONPATH=src .venv/bin/python -m py_compile src/vk_parser_app/admin.py src/vk_parser_app/workers/ai_writer.py`
Current runtime is local infrastructure, not the old VPS.
- Infrastructure source of truth: `D:\DEVELOPMENT\.infra.md`.
- Git deploy remote: `gitea` -> `http://192.168.1.135:3000/exostring/new_vk_parser.git`.
- Deploy path: push to `gitea/main` -> Gitea webhook -> Coolify -> Docker build/deploy.
- Coolify + Gitea LXC: `192.168.1.135` (CTID 102).
- Application LXC: `192.168.1.105` (CTID 105, `new-vk-parser`).
- Public admin URL: `https://panel.f-n8.ru` (also `https://admin.f-n8.ru` when DNS is current).
- Coolify repository URL must be reachable from the deployment container; use `http://192.168.1.135:3000/exostring/new_vk_parser.git` or another resolvable Gitea URL, not `http://coolify.lan:3000/...`.
- Do not deploy this project through `sw.exostring.xyz`, `109.120.156.205`, `/opt/vk-parser`, or manual `systemctl` unless the user explicitly says the old VPS is being restored.
- Old `sw.exostring.xyz` / `109.120.156.205` notes are stale for this project.
## Local Project
@@ -102,9 +96,9 @@ On 2026-06-17 the hashtag flow was fixed:
## Working Rules For Future Codex Runs
- Before any deploy/server operation, read `D:\DEVELOPMENT\.infra.md` first.
- For this project, push deployable changes to `gitea/main`; Coolify handles deployment.
- Prefer small targeted file reads with `rg` and narrow ranges.
- Avoid dumping long post texts from DB unless explicitly needed.
- For server checks, return counts/statuses first.
- Be careful: both local and server worktrees may be dirty.
- For runtime checks, use the current Coolify/Gitea/LXC 105 path from `D:\DEVELOPMENT\.infra.md`.
- Do not `git reset --hard` or revert user/server hotfixes.
- When fixing production, patch server and then mirror the same change locally.