# Faithorn & Stag Academy - cPanel PHP/MySQL Build

This is a first working version of the Faithorn & Stag Academy training portal, seeded with Chuck & Blade Burgers team member training.

## What is included

- Staff login
- Manager/Admin login
- Employee onboarding with invite link
- Role and pathway assignment
- Chuck & Blade FOH Team Member pathway
- Chuck & Blade BOH Team Member pathway
- Course pages with training content and uploaded brand assets
- Quiz/assessment engine
- Practical sign-off forms
- Certificate page with print/save-to-PDF option
- MySQL schema and seed data

## Install on cPanel

1. Upload the contents of this folder to a private folder such as `/public_html/academy`.
2. In cPanel, create a MySQL database and database user.
3. In phpMyAdmin, import `install/schema.sql`.
4. Copy `includes/config.example.php` to `includes/config.php`.
5. Edit `includes/config.php` with your database details and your real academy URL.
6. Visit `/academy/login.php`.

## Default admin login

Email: `admin@faithornstag.local`  
Password: `ChangeMe123!`

Change this immediately after first login.

## Notes

This is a custom PHP/MySQL app, not WordPress. It is designed to be easier to host on WHM/cPanel and easier to tailor to Faithorn & Stag Academy.

## Recommended next build phase

- Add all remaining questions to create 100+ question bank
- Add separate certificate templates for FOH, BOH, Supervisor
- Add full Bare Bones section
- Add expiry dates and refresher training
- Add CSV import for staff
- Add nicer PDF generation using a PHP PDF library if your hosting supports Composer
