# Next Steps

**Last updated:** 20 Nov 2026 — end of Phase 10 (final phase). The build is complete; what remains needs real accounts and people, not more development.

## 1. Before going live (the gym owner and the technical operator)

Follow `docs/DEPLOYMENT.md` in this order:

1. **Accounts** (P-02 – P-08): Render (paid always-on instances), Vercel, MongoDB Atlas, an SMTP provider, Cloudinary, an S3-compatible backup bucket. Decide **who keeps the offline copy of the backup encryption key**.
2. **Staging:** deploy, set every variable in `docs/DEPLOYMENT.md` §3, create the first Admin with the setup token, and run the staging checks in §8 — including **`TRUST_PROXY`** (client IPs behind Vercel + Render) and a **password-reset email**.
3. **Backups:** wait for the first Sunday backup (or run `npm run backup -w server`), then do a **restore drill** into a new staging database (`docs/BACKUP_RESTORE.md` §5). This is acceptance scenario AC-26 with the real bucket.
4. **Real phones:** user acceptance on Android Chrome and iPhone Safari, in English and Urdu, light and dark (`docs/ADMIN_GUIDE.md`, `docs/TRAINER_GUIDE.md`).
5. **Urdu review** by a native speaker (P-10): the Urdu text is a draft.
6. **Real content** (P-11): gym details, plans and prices, trainer cards, photos (once Cloudinary is connected).
7. **WhatsApp** (P-06), when ready: Meta onboarding, templates approved by Meta, the webhook, one test message to a staff phone (`docs/DEPLOYMENT.md` §6.2). Until then leave `WHATSAPP_MODE` empty (off).
8. **Production:** deploy, create the production Admin, and repeat the smoke test. Custom domain later (C-37, P-09): add it in Vercel and to `APP_ORIGIN`.

## 2. Decisions the owner may want to take later (outside the approved SRS)

These are **not** built, because they would change approved requirements; each would need a change request:

- **Erasing a member's personal data** (for example a legal request). Members can only be archived because their consent and message history is kept permanently (D-131).
- **More frequent backups** than weekly (the approved RPO is up to 7 days, C-35).
- **Two-factor sign-in** (excluded from the first release, SRS §11.4).
- **Configurable retention** periods (shown read-only, D-133).
- Logos on receipts and report PDFs need Cloudinary first; report PDFs are English only (C-03).

## 3. Ongoing operation

- Weekly: glance at **Settings → Backups**; follow up WhatsApp messages marked **Needs a follow-up** and pending online payments.
- Quarterly: a restore drill into staging (`docs/BACKUP_RESTORE.md` §6).
- On staff changes: deactivate leaving Trainers on their last day.
- Re-check hosting prices and limits yearly (SRS §14.2).

There are no further development phases planned (SRS §20).
