========================================================== NURSING GURU — Quick Setup Guide ========================================================== STEP 1: Create MySQL database CREATE DATABASE nurseportal CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; mysql -u root -p nurseportal < database/schema.sql STEP 2: Configure database Edit config/database.php — change DB_NAME, DB_USER, DB_PASS STEP 3: Apache VirtualHost (for subdirectory like localhost/ng/public/) The .htaccess handles URL rewriting automatically. Make sure mod_rewrite is enabled: sudo a2enmod rewrite sudo service apache2 restart If using XAMPP/WAMP — ensure AllowOverride All in httpd.conf: AllowOverride All STEP 4: Upload folder permissions chmod -R 775 public/uploads/ OR (Windows): ensure write access to public/uploads/ STEP 5: Login credentials Admin Panel: http://localhost/ng/public/admin/login Email: admin@nursingguru.in Password: Admin@123 *** CHANGE PASSWORD IMMEDIATELY AFTER FIRST LOGIN *** STEP 6: Configure settings in Admin Panel Admin → Settings → General (site name, logo, contact) Admin → Settings → SMTP (email sending) Admin → Settings → Payment (Razorpay/Stripe keys) TROUBLESHOOTING HTTP 500 ERRORS: Temporarily enable debug mode in bootstrap.php: $devMode = true; // line ~17 Check your PHP error log: tail -f /var/log/apache2/error.log (Linux) Check XAMPP Control Panel → Apache → Logs (Windows) REQUIREMENTS: PHP 8.0+, MySQL 5.7+, Apache with mod_rewrite ==========================================================