# Deploy Checklist

- Upload `frontend/` contents to `wizasms.ug/public_html`
- Upload `api/` contents to `apis.wizasms.ug/public_html`
- Upload `gateway/` contents to `gateway.wizasms.ug/public_html`
- Set frontend build URL: `VITE_BASE_URL=https://apis.wizasms.ug`
- Set backend `FRONTEND_APP_URL=https://wizasms.ug`
- Set backend `WHATSAPP_GATEWAY_URL=https://gateway.wizasms.ug`
- Keep `.env` on the server only
- Restart the gateway app after upload
- Install missing Composer and Node production dependencies on server if you do not deploy them from git
- Back up the live database before applying any migration SQL
