# Domainz cPanel deployment
1. Upload and extract this project.
2. cPanel → Application Manager / Setup Node.js App → create a Production Node.js application.
3. Set Application Root to this folder and Startup File to `server.js`.
4. Add variables from `.env.example` in the application environment settings.
5. In Terminal/SSH: `npm install` then `npm run build`.
6. Restart the Node.js application.
7. Run `supabase/schema.sql` in Supabase SQL Editor and create a private `private-documents` storage bucket.
8. Create the HR admin user in Supabase Authentication and set `ADMIN_EMAIL` to that email.
9. Configure Mailtrap and WhatsApp Cloud API credentials.
10. Point your subdomain (e.g. hr.myprofunnels.com) to the Domainz account and enable SSL.
11. Test: application → login → approve → PDF → email → WhatsApp → onboarding email.
