cPanel deployment (Setup Python App) 1. Create the database in cPanel (MySQL Databases): kimlrgeb_polymathonline, user kimlrgeb_superuser, grant ALL PRIVILEGES. 2. Upload and extract this package into a folder in your home directory, e.g. ~/polymath (static/uploads must be writable). 3. cPanel > Setup Python App > Create Application - Python version: 3.11 or newer - Application root: polymath - Application URL: your domain or subdomain - Application startup file: passenger_wsgi.py - Application entry point: application 4. In the same screen, under Environment variables, add: - DATABASE_URL = mysql://kimlrgeb_superuser:PASSWORD@localhost/kimlrgeb_polymathonline?charset=utf8mb4 (URL-encode special characters in the password, e.g. @ becomes %40) - SECRET_KEY = a long random string 5. Click "Run Pip Install" (installs requirements.txt), then click Restart. 6. Open your URL. On first start the tables and the sample data are created. Sign in with admin@polymath.local / admin123 and change the admin password before real use.