iHEALTH SYS v4 deployment quick guide

1. Back up files and MySQL database.
2. Upload the updated application files; preserve current database credentials and user uploads.
3. Point elearning.ihealthsys.org at the application root. Host-aware routing in home.php serves elearning_home.php on that hostname and the integrated portal on ihealthsys.org.
4. Enable HTTPS on all domains/subdomains.
5. Sign in as admin; configure /admin/cms and /admin/daraja.
6. Enter Daraja keys, shortcode, passkey, transaction type, environment, and HTTPS callback URL. Default callback: https://elearning.ihealthsys.org/api/daraja_callback.php
7. Test Sandbox payment flows and callback delivery before using production credentials.
8. Assign course-specific resources, videos, assignments, and exams from the admin content pages.
9. Test clinician document upload, patient sharing/revocation, and admin access. Clinical attachments are protected from direct web access.
10. Review README_V4.md for production security, clinical governance, and rollback requirements.
