# buypur.com — Correct cPanel one-extract layout

This archive is for your cPanel account `/home/buypurco/`.

**IMPORTANT:** Extract the ZIP while you are in **Home** `/home/buypurco/`, NOT `public_html`.

It contains:
- `public_html/index.php`, `public_html/install.php`, `public_html/assets/`, `public_html/.htaccess`
- `buypur-private/` — outside the public web directory

## Exact installation steps
1. In cPanel File Manager, click **Home**, confirm path is `/home/buypurco/`.
2. Upload this ZIP to **Home**, select **Extract**, extract to `/home/buypurco/`. If `public_html` already exists, unzip merges files within it.
3. In `/home/buypurco/public_html/`, delete the two mis-extracted old folders `buypur-private` and `buypur-public`, plus the original ZIP and `START_HERE_BN.md` — only if they are the copies shown in the earlier screenshot. Do NOT delete `index.php`, `install.php`, `assets`, or `.htaccess`.
4. Create ONE empty MySQL database and database user with ALL PRIVILEGES.
5. Open `/home/buypurco/buypur-private/INSTALL_TOKEN.txt` and copy setup token privately.
6. Open `https://buypur.com/install.php` and provide install token, MySQL name/user/password, and a new admin login. Installer creates the tables.
7. After setup delete `public_html/install.php` and ZIP. In admin enter Canboso buyer API key; do not share credentials in chat.
8. Enable cron as described in the original guide, only when ready for automatic sync.

**Do not import buypur_FINAL_database.sql if you use the web installer.** The SQL is an alternative/manual reference. Do not import schema twice.

This changes only file placement and hardens `.htaccess` against old accidental folders and downloadable archive/docs. Application PHP files are unchanged from your previously supplied fresh ZIP.

Limits: payment gateway not yet implemented; production purchases and Canboso live API not verified.
