Files
dyolink/README.md
rameen 9a57e497da
All checks were successful
Production international — nudentic.com / build-and-push (push) Successful in 8m4s
Production — tag build, push, deploy / build-and-push (push) Has been skipped
Production international — nudentic.com / deploy (push) Successful in 28m6s
Production — tag build, push, deploy / deploy (push) Has been skipped
Add a separate nudentic.com release tag.
vX.Y.Z-com builds and deploys only the international server, and the Iran workflow skips those tags before any build or SSH.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-09 14:47:18 +03:30

2.1 KiB

Dyolink

Monorepo: NestJS backend (backend/), Next.js frontend (frontend/), Docker stack under infrastructure/..

Local development: see backend/README.md and frontend/README.md.

Cursor AI: project conventions for agents are in AGENTS.md, .cursor/rules/, and .cursor/skills/.


Production deploy (https://nudentic.ir)

Full guide: infrastructure/DEPLOY.md

Database backup and restore: infrastructure/BACKUP.md

Git tag v1.0.1 → Gitea workflow .gitea/workflows/prod-tag-deploy.yml builds images (URLs baked for nudentic.ir), pushes to Gitea registry, SSH-deploys the Linux stack.

First-time SSL / Hub fallback: same DEPLOY.md.

International production (https://nudentic.com)

Tag vX.Y.Z-com runs .gitea/workflows/prod-com-tag-deploy.yml. That workflow bakes https://nudentic.com, pushes that same tag, and deploys only to the international server. A normal vX.Y.Z tag still deploys nudentic.ir and does not start this workflow.


Staging deploy (https://wixur.ir)

Full guide: infrastructure/STAGING-DEPLOY.md

Merge or push to master → Gitea Actions builds images → deploys to https://wixur.ir (Gitea: http://wixur.ir:3000).

Workflow: .gitea/workflows/registry-build-deploy.yml


Path Role
backend/Dockerfile API image
frontend/Dockerfile Web image (standalone + copy public/ for catalog icons)
infrastructure/STAGING-DEPLOY.md Staging setup, Verdaccio, CI variables, blackout checklist
infrastructure/docker-compose.registry.yml Pull-only staging stack (registry images + nginx + postgres)
infrastructure/docker-compose.verdaccio.yml Local npm warehouse on the Windows build PC
infrastructure/deploy.registry.env.example Template for deploy.registry.env