╔══════════════════════════════════════════════════════════════════════════╗ ║ CEYLOAN POS - QUICK DEPLOYMENT CARD ║ ╚══════════════════════════════════════════════════════════════════════════╝ ═══════════════════════════════════════════════════════════════════════════ BEFORE UPLOAD - DELETE THESE FILES/FOLDERS: ═══════════════════════════════════════════════════════════════════════════ ✗ .env (the original one - keep .env.production) ✗ .git/ (entire folder) ✗ node_modules/ (if exists) ✗ storage/logs/*.log ✗ storage/framework/cache/* ✗ storage/framework/sessions/* ✗ storage/framework/views/* ✗ cookies.txt ✗ nul ✗ response.html ═══════════════════════════════════════════════════════════════════════════ UPLOAD STEPS: ═══════════════════════════════════════════════════════════════════════════ 1. ZIP all remaining files 2. Upload to public_html via cPanel File Manager 3. Extract ZIP 4. Delete ZIP ═══════════════════════════════════════════════════════════════════════════ DATABASE SETUP (cPanel → MySQL Databases): ═══════════════════════════════════════════════════════════════════════════ 1. Create database: yourusername_ceyloanpos 2. Create user: yourusername_posuser 3. Add user to database with ALL PRIVILEGES 4. Save credentials! ═══════════════════════════════════════════════════════════════════════════ CONFIGURE .ENV FILE: ═══════════════════════════════════════════════════════════════════════════ 1. Rename .env.production → .env 2. Edit these values: APP_URL=https://yourdomain.com DB_DATABASE=yourusername_ceyloanpos DB_USERNAME=yourusername_posuser DB_PASSWORD=your_password_here ═══════════════════════════════════════════════════════════════════════════ SET PERMISSIONS (Right-click folder → Change Permissions → 775): ═══════════════════════════════════════════════════════════════════════════ ✓ storage/ → 775 ✓ storage/app/ → 775 ✓ storage/framework/ → 775 ✓ storage/logs/ → 775 ✓ bootstrap/cache/ → 775 ═══════════════════════════════════════════════════════════════════════════ RUN SETUP (Visit this URL in browser): ═══════════════════════════════════════════════════════════════════════════ https://yourdomain.com/setup.php (Create setup.php first - see DEPLOYMENT_GUIDE.md) ═══════════════════════════════════════════════════════════════════════════ CREATE ADMIN USER: ═══════════════════════════════════════════════════════════════════════════ Visit: https://yourdomain.com/createadmin.php Default login: Username: admin Password: Admin@123 ═══════════════════════════════════════════════════════════════════════════ ⚠️ IMPORTANT - DELETE THESE FILES AFTER SETUP: ═══════════════════════════════════════════════════════════════════════════ ✗ public/setup.php ✗ public/createadmin.php ═══════════════════════════════════════════════════════════════════════════ TEST CHECKLIST: ═══════════════════════════════════════════════════════════════════════════ □ Site loads □ Can login □ Changed password □ POS works □ Added a product □ Completed a sale □ Deleted setup files ═══════════════════════════════════════════════════════════════════════════ ENABLE HTTPS (after SSL installed): ═══════════════════════════════════════════════════════════════════════════ Edit public/.htaccess - uncomment these lines: RewriteCond %{HTTPS} !=on RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] ═══════════════════════════════════════════════════════════════════════════ DONE! 🎉 ═══════════════════════════════════════════════════════════════════════════