# VRIDOVA cPanel deployment checklist

## Hosting checks (ask Red Server support if unsure)
- [ ] PHP 8.2+ selected for the domain
- [ ] Required PHP extensions available: pdo_mysql, mbstring, openssl, curl, fileinfo, json, intl, gd (or Imagick)
- [ ] MySQL/MariaDB version and database limits confirmed
- [ ] SSL certificate active
- [ ] Private writable storage path outside public_html confirmed
- [ ] PHP upload_max_filesize and post_max_size sized for assignment files
- [ ] PHP memory_limit and max_execution_time suitable for the application
- [ ] SMTP sending method and limits confirmed
- [ ] Cron availability confirmed if scheduled email/reminders are needed

## Install
- [ ] Create database and database user in cPanel
- [ ] Import database/schema.sql using phpMyAdmin
- [ ] Upload public_html contents to domain public_html
- [ ] Upload private_app outside public_html
- [ ] Copy config.example.php to config.php and fill credentials
- [ ] Set correct private bootstrap path
- [ ] Set file/folder permissions conservatively (normally folders 755, files 644; private writable folders only as required)
- [ ] Enable HTTPS redirect after confirming SSL works
- [ ] Disable/remove installer and development seed credentials
- [ ] Create first admin securely; enforce a strong password and MFA if available

## Razorpay
- [ ] Add test Key ID and Key Secret server-side
- [ ] Configure webhook endpoint and webhook secret
- [ ] Test payment success/failure/abandonment and duplicate webhook
- [ ] Verify enrollment only after server-side signature/webhook validation
- [ ] Test refund in test mode and verify status updates
- [ ] Switch to live keys only after end-to-end sign-off

## Before accepting students
- [ ] Confirm course names, durations, fees, curriculum and support promises
- [ ] Approve refund terms with clear eligibility, deadline, exclusions and processing timeline
- [ ] Publish Terms, Privacy, Refund and Cancellation policies
- [ ] Configure real contact details and support email/phone
- [ ] Configure private video hosting and protect lesson URLs
- [ ] Test all roles and cross-account access restrictions
- [ ] Test mobile layouts and accessibility
- [ ] Configure automated database/files backups and test restore
- [ ] Enable error logging privately and monitoring
- [ ] Run security review and vulnerability scan
