Highstar Route Tracker - installation on Truehost (cPanel)
===========================================================

Address: https://highstar.pipohris.co.ke/routetracker/
Admin sign-in: https://highstar.pipohris.co.ke/routetracker/admin/

1. Subdomain: cPanel > Domains (or Subdomains) > create "highstar" on pipohris.co.ke.
   Note its document root (e.g. /home/<user>/highstar.pipohris.co.ke).
2. SSL: cPanel > SSL/TLS Status > Run AutoSSL so https works. Phones only share GPS over https.
3. PHP: cPanel > Select PHP Version > PHP 8.1 or newer, with the "pdo_sqlite" extension ticked.
4. Upload: File Manager > open the subdomain's folder > Upload this zip > Extract.
   You should then have a "routetracker" folder containing index.html, api.php, config.php,
   the admin folder and the data folder.
5. Email: the site sends from no-reply@accurexhr.co.ke (set in config.php). That mailbox must exist
   in cPanel > Email Accounts. Change 'mail_from' in config.php to use another address on this cPanel account,
   for example no-reply@pipohris.co.ke.
6. Open https://highstar.pipohris.co.ke/routetracker/ and create the Super Admin account.
   Then, in the admin panel: Settings > Send test email, to check emails arrive.

The data lives in routetracker/data/routetracker.sqlite. Nobody can download it from the web
(data/.htaccess blocks it). It is included in cPanel backups; you can also download it from
File Manager to keep a copy. Do not delete the data folder when updating the site: to update,
replace only index.html (and api.php if a new one is supplied).
