# Installation Guide

## 1. Upload Files

- Upload the entire project folder to your cPanel `public_html` or a subdirectory.
- Ensure `public` is the document root for the application.

## 2. Create Database

- Create a MySQL database and user in cPanel.
- Grant the user full privileges on the database.
- Import `sql/schema.sql` using phpMyAdmin.

## 3. Configure Environment

- Copy `.env.example` to `.env`.
- Update database credentials, `APP_URL`, email settings, and MTN MoMo configuration.

## 4. Set Permissions

- Ensure `storage/uploads` and `storage/logs` are writable by the web server.

## 5. Use cPanel Cron or Webhooks

- Configure webhook endpoints for MTN Mobile Money callbacks if available.

## 6. Access the Application

- Visit `http://yourdomain.com/public` or your configured public document root.

## 7. Default Admin

- Register a new user and update the `admins` table, or insert an admin record manually.
