SLEEPEASY – FULL WEBSITE FOR www.sleepeasy.africa ================================================== 1. FILES Upload everything inside the "public_html" folder of this zip into the domain's public_html (File Manager → Upload the zip → Extract, then move the contents up if needed). Turn on "Show Hidden Files" and check that .htaccess, api/.htaccess and install/.htaccess are there. Delete any old SleepEasy files there first (keep nothing from the old install except your data). 2. DATABASE cPanel → MySQL Databases: create a database and user (All privileges). phpMyAdmin → that database → Import → sleepeasy-se-tables.sql (the file I sent you with your data). Starting empty instead? Import install/schema-se-prefix.sql. 3. SETTINGS FILE Upload home-folder/sleepeasy-config.php to the HOME folder (the one ABOVE public_html). Edit three lines: db_dsn (database name), db_user and db_pass. Everything else is filled in. Create the mailbox no-reply@sleepeasy.africa in Email Accounts. 4. PHOTOS AND ID COPIES Copy the folder /home/malalalo/sleepeasy-uploads from the Malala Lodge hosting into the new home folder (same place as the settings file). Download it as a zip and upload/extract it there. 5. PHP, SSL, CRON MultiPHP Manager: PHP 8.1 or newer. SSL/TLS Status → Run AutoSSL for sleepeasy.africa and www.sleepeasy.africa. Cron Jobs, every 15 minutes: php /home/YOURUSER/public_html/api/cron.php > /dev/null 2>&1 6. CHECK https://www.sleepeasy.africa/api/?r=health → "database": "connected", "tables": "all 12 present" https://www.sleepeasy.africa → home page; https://www.sleepeasy.africa/?app → back office 7. AFTER THE MOVE - Meta (WhatsApp) → Configuration → Webhook: https://www.sleepeasy.africa/api/?r=wa&lodge=malala-lodge and the privacy policy URL: https://www.sleepeasy.africa/privacy - Remove the old test copy from www.malalalodge.co.za/sleepeasy when you're happy. Full guide: install/INSTALL.md