2026-05-05 00:01:06 +03:30
# Dyolink
2026-06-23 15:54:13 +03:30
Monorepo: **NestJS ** backend (`backend/` ), **Next.js ** frontend (`frontend/` ), **Docker ** stack under `infrastructure/` ..
2026-05-05 00:01:06 +03:30
Local development: see * * `backend/README.md` ** and * * `frontend/README.md` **.
2026-07-12 21:08:29 +03:30
**Cursor AI:** project conventions for agents are in [`AGENTS.md` ](AGENTS.md ), [`.cursor/rules/` ](.cursor/rules/ ), and [`.cursor/skills/` ](.cursor/skills/ ).
2026-05-05 00:01:06 +03:30
---
2026-08-29 16:25:27 +03:30
## Production deploy (`https://nudentic.ir`)
2026-07-07 15:32:25 +03:30
2026-08-29 16:25:27 +03:30
**Full guide:** [`infrastructure/DEPLOY.md` ](infrastructure/DEPLOY.md )
2026-07-07 15:32:25 +03:30
2026-08-29 16:25:27 +03:30
Git tag * * `v1.0.1` ** → Gitea workflow [`.gitea/workflows/prod-tag-deploy.yml` ](.gitea/workflows/prod-tag-deploy.yml ) builds images (URLs baked for nudentic.ir), pushes to Gitea registry, SSH-deploys the Linux stack.
2026-07-07 15:32:25 +03:30
2026-08-29 16:25:27 +03:30
First-time SSL / Hub fallback: same `DEPLOY.md` .
2026-07-07 15:32:25 +03:30
---
2026-08-29 16:25:27 +03:30
## Staging deploy (`https://wixur.ir`)
2026-05-05 00:01:06 +03:30
2026-08-23 11:10:28 +03:30
**Full guide:** [`infrastructure/STAGING-DEPLOY.md` ](infrastructure/STAGING-DEPLOY.md )
2026-05-05 00:01:06 +03:30
2026-08-29 16:25:27 +03:30
Merge or push to * * `master` ** → Gitea Actions builds images → deploys to `https://wixur.ir` (Gitea: `http://wixur.ir:3000` ).
2026-05-05 00:01:06 +03:30
2026-08-23 11:10:28 +03:30
Workflow: [`.gitea/workflows/registry-build-deploy.yml` ](.gitea/workflows/registry-build-deploy.yml )
2026-05-05 00:01:06 +03:30
---
## Related paths
| Path | Role |
|------|------|
| `backend/Dockerfile` | API image |
| `frontend/Dockerfile` | Web image |
2026-08-23 11:10:28 +03:30
| `infrastructure/STAGING-DEPLOY.md` | Staging setup, CI variables, testing |
2026-05-05 00:01:06 +03:30
| `infrastructure/docker-compose.registry.yml` | Pull-only staging stack (registry images + nginx + postgres) |
| `infrastructure/deploy.registry.env.example` | Template for `deploy.registry.env` |