Launchpad cPanel deployment
===========================

1. In cPanel, open Application Manager / Setup Node.js App.
2. Create an application with the directory containing this file as its Application root.
3. Set the Startup file to: server.js
4. Use Node.js 20 or newer, then run npm install only if cPanel requires it.
5. Use NodeJS Selector's "Run NPM Install" action so dependencies are installed
   into the CloudLinux virtual environment. Do not upload or create a real
   node_modules directory in this application root; CloudLinux must provide
   the node_modules symlink.
6. Confirm the environment variables in .env, especially:
   - SESSION_SECRET: long random production secret
   - NEXT_PUBLIC_APP_URL: your HTTPS site URL
   - ADMIN_EMAIL and ADMIN_PASSWORD: your admin login
   - UPLOAD_DIR=./data/uploads
7. Start or restart the Node.js application.

The included SQLite database and upload directory are persistent application data.
Back up prisma/dev.db and data/uploads together.
