# Deploying this zip to cPanel (groceries.subtractminus.com)

This zip is already flattened — `server.js` sits at the top level, so you
can extract it straight into your Node.js App's application root with no
extra folder-moving.

## Steps

1. **cPanel → Domains → Create A New Domain**
   Subdomain: `groceries`, Domain: `subtractminus.com`
   → creates `groceries.subtractminus.com`

2. **cPanel → Setup Node.js App → Create Application**
   - Node.js version: 18+
   - Application mode: Production
   - Application root: the folder cPanel created for the subdomain
   - Application URL: `groceries.subtractminus.com`
   - Application startup file: `server.js`
   - Create

3. **Upload this zip's contents**
   File Manager → go to the application root → Upload →
   select this zip → once uploaded, right-click it → **Extract**.
   Since `server.js` is already at the top level of the zip, extracting
   directly into the application root is all that's needed — no moving
   files afterward.

4. **Setup Node.js App → your app → Run NPM Install**

5. **Restart App**

6. Visit `https://groceries.subtractminus.com`

7. **SSL/TLS Status → AutoSSL** if HTTPS isn't already active.

## If something's wrong

- Blank page / 500 → **Setup Node.js App → your app → stderr log**
- Pinning fails silently → `chmod 755` the `data/` folder in File Manager
- "Run NPM Install" hangs → retry, or SSH in and run
  `npm install --production` from the application root

Full scraper-debugging and architecture notes are in `README.md` in this
same zip.
