﻿cPanel Deployment (Node.js App)

1. In cPanel, open Setup Node.js App.
2. Create app:
   - Node.js: 20.x
   - Mode: Production
   - Application root: cpanel-ready-murad-palai-ps (or any folder name)
   - Startup file: server.js
   - URL/Subdomain: murad.palai.ps

3. Upload and extract this zip into application root.
4. Open terminal in that folder and run:
   npm install
   npm run build
   cp -r .next/static .next/standalone/.next/static
   cp -r public .next/standalone/public
   cp -r .next/standalone/* .

5. In Node.js App environment variables, set values from .env.production.cpanel.
6. Restart Node.js App.

Database:
- Database name: palai_murad
- User: palai_murad
- Password: vgzBx{lQIqOCCxY7
- Import SQL from cpanel_murad_schema.sql before first app start.
