admin/docs/deploy.md
alisaza e1eaf5eff5 feat: initial ghabilee-admin backoffice app
Extract admin dashboard from ghabilee-frontend2 into a dedicated Next.js
app for backoffice.ghabilee.ir (no SEO indexing / Clarity).
2026-09-05 13:12:59 +03:30

560 B

Admin deployment

  1. Point the DNS record for backoffice.ghabilee.ir to the production VPS.
  2. Create /opt/ghabilee-admin/.env from .env.example and set production values.
  3. Configure the reverse proxy to forward backoffice.ghabilee.ir to 127.0.0.1:3009 and enable TLS.
  4. Push to main (or run the deploy workflow manually) after the environment is ready.

GitHub secrets checkpoint

Deployment requires VPS_HOST, VPS_USER, and VPS_SSH_KEY. The repository owner will add these GitHub Actions secrets later, before the first deployment.