# cPanel Node.js deployment (iPad-friendly)

## Upload
Upload/extract this entire project into your cPanel Node app **Application root** folder.

## Setup Node.js App settings
- **Node.js version:** 18.x or 20.x (NOT 10.x)
- **Application mode:** Production
- **Application root:** the folder you upload this project into (example: /home/USERNAME/nodeapps/jasen-next)
- **Application URL:** jasenspirek.com (or a subpath)
- **Startup file:** server.js

### Environment variables
- NODE_ENV=production
- NEXT_TELEMETRY_DISABLED=1

## After upload
1) Click **Run NPM Install**
2) Run **npm run build** (via cPanel Terminal if enabled, or any "Run Script" feature)
3) Click **Restart** on the Node app

## If you still see "It works!"
Your domain is still pointing to the default sample app, or the app root/startup file is wrong.
