PARADIGM MANHOUR PLANNING - PHP / MYSQL FOR GODADDY CPANEL
Release: 10 November 2026

Open START_HERE.html for the complete illustrated-by-steps setup guide.

THIS PACKAGE USES YOUR CURRENT CENTRAL-SERVER DATA
The hosted app starts with ZERO project/employee records. No seed/sample dataset
is included. Transfer the latest office-server database using the supplied tool,
or use Download backup in the running central app. Keep the office database.

1. In cPanel create a MySQL database and user, and assign that user to the
   database with ALL PRIVILEGES. Enable HTTPS and PHP 8.2+ with pdo_mysql.
2. Upload public_html/manhour into your domain's public_html folder.
   Upload manhour-private into your cPanel HOME folder, OUTSIDE public_html.
   Read the path notes in START_HERE.html if using a subdomain or another root.
3. In manhour-private, rename setup-key.example.php to setup-key.php and replace
   its value with a unique random setup key of at least 32 characters.
4. Open https://YOUR-DOMAIN/manhour/install.php and enter the setup key,
   database details, exact app URL and distinct management/team access codes.
   These secrets are entered on your own hosting, not sent to ChatGPT.
5. Sign in to the hosted app with the management code.
6. On the CURRENT office server, copy the two files in transfer_tools named
   Export_Current_Server.cmd and export_current_server.py beside server.py.
   Save all users' work, stop the office server, then run the CMD file there.
   It reads the existing database without changing it and writes a JSON export.
   This includes saved inputs, settings, weekly values and change history.
7. In the hosted app choose Import / restore JSON and select that export.
   Download a hosted backup and use verify_transfer.py to compare it with the
   source export BEFORE staff start editing. Detailed instructions are in the guide.
8. Set up the cPanel backup cron job, remove install.php and setup-key.php,
   and share the new HTTPS address. Use only the hosted app after cutover.

Updates are not automatically mirrored between the old office app and the
hosted database. The initial transfer is a controlled migration, not two-way sync.

Installation on your hosting and transfer of your live server data have NOT
been performed by this package. The source data must be exported from your
current server and imported during setup. Do not upload the old SQLite file
or a JSON export into public_html.

Preserved functionality: team inputs, employee productivity, editing/paste,
manual checks, hide/move/expected projects, shared order, unique employee count,
Field lists, all summaries/graphs/drawings, FTE calculations, signed Balance FTE,
Excel/PDF-print branding, row revision conflicts and automatic browser refresh.

No Node.js or Python is required on GoDaddy for normal operation. PHP and
MySQL serve the app. Python is used only by the optional Windows transfer tools.
The source/ and tests/ directories are for developers; do not upload them.
