# Launch checklist

Work through this on a **staging** copy first (with *SEO Defaults → Hide the whole site* switched on), then again on
the live server.

## Server
- [ ] VPS set up and `docker compose up -d` running (`docker compose ps` shows app, queue, scheduler, db, caddy).
- [ ] `.env` filled in: `APP_KEY`, `APP_URL`, `SITE_DOMAIN`, database passwords, `MAIL_*`, `RAZORPAY_*`, `VNC_ROOTS_SECRET`.
- [ ] HTTPS works at the domain and `www.` redirects to it.
- [ ] Nightly backups set up (`docker/backup.sh` in cron) **and copied off the server**. Restore tested once.

## Accounts
- [ ] Your own super-admin account; test login removed if one was made.
- [ ] Editors have the Editor role. Two-factor authentication on for administrators.

## Content (Control panel)
- [ ] Sample event dates replaced with real events (and the Nature Education Camp's fee and VNC Roots ID).
- [ ] Homepage *Resources* links point to real files (they were `#` on the old site).
- [ ] Reports and the 80G certificate uploaded under Reports & Documents.
- [ ] Testimonials checked (the old site's may have been placeholders).
- [ ] Registration numbers, social media links, team roles and photos added (Globals → Site Settings, Team).
- [ ] Volunteer and internship panel texts checked.
- [ ] Alt text written for the main photos.

## Payments and VNC Roots
- [ ] Addons → VNC Payments → Settings: plan names and fees match VNC Roots exactly.
- [ ] Razorpay webhook added (`/!/vnc-payments/razorpay/webhook`, events payment.captured and payment.failed).
- [ ] VNC has added the server's IP address to the VNC Roots allowed list.
- [ ] Test with Razorpay **test keys** on staging: a donation, a membership and an event registration all show
      *Paid* and *Sent to VNC Roots* under Content → Payments.
- [ ] On live: one real ₹10 donation reaches VNC Roots and the receipt arrives.

## Forms
- [ ] *Site Settings → Forms* has the right notification addresses; a test contact message arrives by email.
- [ ] Old submissions imported (`vnc:import-old-forms`, see DEPLOYMENT.md), if wanted.

## Going live
- [ ] *SEO Defaults → Hide the whole site* is **off** on the live site; `/robots.txt` shows the sitemap line.
- [ ] Domain DNS pointed at the new server; old URLs (e.g. `/about.php`, `/project-detail.php?id=…`) redirect.
- [ ] Sitemap submitted in Google Search Console (`https://vncindia.org/sitemap.xml`).
- [ ] Old server's database and files kept as an archive, then the old site switched off.
