Skip to content

🚀 NewWaves Hospital Management System - Online Installation Guide

Welcome to the complete installation guide for NewWaves Hospital Management System!

This step-by-step guide will help you install and configure your hospital management system in under 30 minutes. Our automated installation wizard handles most of the complex setup, but this guide ensures you don't miss any important steps.


📋 Pre-Installation Checklist

✅ Before You Start

System Requirements Check: - [ ] PHP 8.1+ installed on your server - [ ] MySQL 8.0+ or MariaDB 10.6+ database available - [ ] Web server (Apache 2.4+ or Nginx 1.18+) running - [ ] At least 512MB RAM available - [ ] SSL certificate installed (recommended for production) - [ ] FTP/cPanel access to your hosting account

Information You'll Need: - [ ] Database name, username, and password - [ ] Your domain URL (e.g., https://yourhospital.com) - [ ] Admin email and password for first account - [ ] SMTP email settings (optional, can configure later)

Files Ready: - [ ] Downloaded ZIP file from CodeCanyon - [ ] Extracted ZIP contents to your computer - [ ] FTP client installed (if using FTP upload)


📁 Step 1: File Upload & Extraction

  1. Login to your cPanel
  2. Access your hosting provider's cPanel
  3. Navigate to "File Manager"

  4. Upload the ZIP file

  5. Go to your domain's public_html folder (or subdomain folder)
  6. Click "Upload" button
  7. Select the NewWaves Hospital Management ZIP file
  8. Wait for upload to complete

  9. Extract the files

  10. Right-click on the uploaded ZIP file
  11. Select "Extract"
  12. Choose "Extract files to /public_html/" (or your domain folder)
  13. Delete the ZIP file after extraction

  14. Verify file structure

    public_html/
    ├── app/
    ├── bootstrap/
    ├── config/
    ├── database/
    ├── install-files/
    ├── public/
    ├── resources/
    ├── routes/
    ├── storage/
    ├── vendor/ (if included)
    ├── .env.example
    ├── composer.json
    └── README.md
    

Option B: FTP Upload

  1. Extract ZIP file locally
  2. Extract the ZIP file on your computer
  3. You should see all Laravel application folders

  4. Connect via FTP

  5. Open your FTP client (FileZilla, WinSCP, etc.)
  6. Connect using your FTP credentials
  7. Navigate to your domain's root folder

  8. Upload all files

  9. Select ALL extracted files and folders
  10. Upload to your domain's public folder
  11. This may take 10-20 minutes depending on connection

  12. Verify upload

  13. Ensure all folders uploaded completely
  14. Check that file permissions are correct (755 for folders, 644 for files)

🔧 Step 2: Set File Permissions

Required Permissions (Very Important!)

Using cPanel File Manager: 1. Select storage folder - Right-click on storage folder - Select "Change Permissions" - Set to 755 (or check: Owner: Read+Write+Execute, Group: Read+Execute, World: Read+Execute) - Check "Recurse into subdirectories" - Click "Change Permissions"

  1. Set bootstrap/cache permissions
  2. Right-click on bootstrap/cache folder
  3. Set permissions to 755 with recursion

  4. Set public/uploads permissions (if folder exists)

  5. Right-click on public/uploads folder
  6. Set permissions to 755 with recursion

Using FTP/SSH:

chmod -R 755 storage/
chmod -R 755 bootstrap/cache/
chmod -R 755 public/uploads/

❗ Important: Without proper permissions, the installation will fail with "permission denied" errors.


🌐 Step 3: Access Installation Wizard

Start the Installation Process

  1. Open your web browser
  2. Navigate to your domain: https://yourdomain.com
  3. Or if installed in subfolder: https://yourdomain.com/hospital

  4. Automatic redirect

  5. The system will automatically redirect you to: /install
  6. You should see the NewWaves Hospital Management installation welcome screen

  7. If redirect doesn't work

  8. Manually navigate to: https://yourdomain.com/install
  9. Clear your browser cache and try again

🎉 Success Indicator: You should see a professional installation wizard with the NewWaves Hospital Management logo and "Welcome to Installation" message.


📝 Step 4: Installation Wizard Walkthrough

Step 1: Welcome & License Verification

What you'll see: - Welcome message with system overview - License verification form - Product information display

What to do: 1. Enter your purchase information: - Purchase Code: Your CodeCanyon purchase code - Envato Username: Your CodeCanyon username - Domain: Your website domain (auto-filled)

  1. Click "Verify License"
  2. Wait for verification to complete
  3. ✅ Success: Green checkmark with "License Valid" message
  4. ❌ Error: Double-check your purchase code and username

  5. Click "Continue" to proceed to next step

💡 Tip: Your purchase code is available in your CodeCanyon downloads section or purchase receipt email.


Step 2: System Requirements Check

What you'll see: - Comprehensive system requirements validation - PHP version and extensions check - File permissions verification - Server configuration review

Green Checkmarks Mean: - ✅ PHP version is compatible (8.1+) - ✅ All required PHP extensions are installed - ✅ File permissions are correctly set - ✅ Server configuration meets requirements

Red X Marks Mean: - ❌ Missing PHP extensions - ❌ Incorrect file permissions - ❌ Insufficient PHP memory limit - ❌ Other server configuration issues

If you see red X marks: 1. Contact your hosting provider to install missing PHP extensions 2. Check file permissions as described in Step 2 3. Increase PHP memory limit in hosting control panel 4. Refresh the page after making changes

Click "Continue" only when all checks show green checkmarks.


Step 3: Database Configuration

What you'll see: - Database connection form - Connection test button - Progress indicator for database import

Required Information: - Database Host: Usually localhost (check with hosting provider) - Database Port: Usually 3306 (default MySQL port) - Database Name: Your MySQL database name - Database Username: MySQL username with full database access - Database Password: MySQL user password

Step-by-step process:

  1. Fill in database details

    Database Host: localhost
    Database Port: 3306
    Database Name: your_hospital_db
    Username: your_db_user
    Password: your_db_password
    

  2. Test connection first

  3. Click "Test Connection" button
  4. ✅ Success: "Database connection successful!" message
  5. ❌ Error: Check credentials and database exists

  6. Import database

  7. Click "Continue" to start database import
  8. Progress bar shows import status
  9. This takes 2-5 minutes depending on server speed

  10. Wait for completion

  11. ✅ Success: "Database imported successfully!"
  12. ❌ Error: Check database user has full permissions

🔒 Security Note: Ensure your database user has full permissions (CREATE, DROP, INSERT, UPDATE, DELETE) on the specified database.


Step 4: Administrator Account Setup

What you'll see: - Admin account creation form - Hospital information setup - System configuration options

Required Information: - Admin Name: Your full name (e.g., "John Smith") - Admin Email: Your email address (used for login) - Admin Password: Strong password (8+ characters) - Confirm Password: Re-enter password for verification - Admin Phone: Your contact phone number

Optional Hospital Information: - Hospital Name: Your hospital/clinic name - Hospital Address: Physical address - Hospital Phone: Main contact number - Hospital Email: General contact email

Best Practices: 1. Use a strong password: - At least 8 characters - Include uppercase, lowercase, numbers, and symbols - Example: HospitalAdmin2024!

  1. Use a real email address:
  2. You'll receive system notifications here
  3. Password reset emails sent to this address

  4. Remember these credentials:

  5. Write them down securely
  6. You'll need them to access the admin panel

Click "Create Admin Account" to proceed.


Step 5: System Finalization

What you'll see: - System optimization in progress - Cache clearing and configuration - Installation completion status

Automatic processes: 1. Cache Generation: - Configuration cache creation - Route optimization - View compilation

  1. System Security:
  2. Application key generation
  3. Security settings configuration
  4. File protection setup

  5. Final Checks:

  6. Database connection verification
  7. File permission validation
  8. System readiness confirmation

Success Message:

🎉 Installation Completed Successfully!
NewWaves Hospital Management System is ready to use.

What happens next: - Installation files are secured - System is optimized for production - Admin account is activated - You're redirected to login page


🎯 Step 5: First Login & Initial Setup

Access Your Admin Panel

  1. Navigate to admin login:
  2. URL: https://yourdomain.com/admin/login
  3. Or click "Go to Admin Panel" from completion screen

  4. Login with admin credentials:

  5. Email: The admin email you created
  6. Password: The admin password you set

  7. First login success:

  8. You'll see the admin dashboard
  9. Welcome tour may appear (optional)
  10. System statistics display

Essential First Steps

1. System Settings Configuration

  • Navigate to Settings → General Settings
  • Update hospital information
  • Set timezone and locale
  • Configure date/time formats

2. Email Configuration (Important!)

  • Go to Settings → Email Settings
  • Configure SMTP settings:
    SMTP Host: mail.yourdomain.com
    SMTP Port: 587
    SMTP Username: noreply@yourdomain.com
    SMTP Password: your_email_password
    Encryption: TLS
    
  • Send test email to verify configuration

3. Create User Roles

  • Navigate to Users → Roles
  • Default roles are pre-created:
  • Super Admin
  • Admin
  • Doctor
  • Nurse
  • Receptionist
  • Customize permissions as needed

4. Set Up Departments

  • Go to Hospital → Departments
  • Create your hospital departments:
  • Cardiology
  • Emergency Medicine
  • Pediatrics
  • etc.
  • Add department descriptions and images

5. Payment Gateway Setup (Optional)

  • Navigate to Settings → Payment Settings
  • Configure payment gateways:
  • Stripe: Add API keys
  • PayPal: Configure client credentials
  • Razorpay: Add API keys (for India)
  • Paystack: Add keys (for Africa)

🔒 Security & Production Setup

Essential Security Steps

  • Consider changing /admin URL for security
  • Update .htaccess or web server configuration
  • Use strong, non-obvious admin URLs

2. SSL Certificate Verification

  • Ensure HTTPS is working properly
  • All pages should load with SSL
  • Mixed content warnings should be resolved

3. File Permissions Review

# Recommended production permissions
Folders: 755
Files: 644
Storage folder: 775 (web server writable)
Bootstrap cache: 775 (web server writable)

4. Environment Configuration

  • Verify .env file settings:
    APP_ENV=production
    APP_DEBUG=false
    APP_URL=https://yourdomain.com
    

Performance Optimization

1. Enable Caching

  • Config Cache: Speeds up configuration loading
  • Route Cache: Optimizes routing performance
  • View Cache: Pre-compiles Blade templates

2. Database Optimization

  • Regular database maintenance
  • Index optimization
  • Query performance monitoring

🚨 Common Issues & Solutions

Issue 1: "Permission Denied" Errors

Symptoms: - Installation wizard shows file permission errors - Cannot write to storage folder - Cache clearing fails

Solutions: 1. Set correct file permissions:

chmod -R 755 storage/
chmod -R 755 bootstrap/cache/
chmod -R 755 public/uploads/

  1. Check web server user ownership:

    chown -R www-data:www-data storage/
    chown -R www-data:www-data bootstrap/cache/
    

  2. Contact hosting provider for permission assistance


Issue 2: Database Connection Failed

Symptoms: - "Database connection failed" error - Installation cannot proceed past database step - Connection test button shows errors

Solutions: 1. Verify database credentials: - Double-check database name - Confirm username and password - Ensure database exists

  1. Check database permissions:
  2. User needs full permissions (CREATE, DROP, INSERT, UPDATE, DELETE)
  3. Try connecting with phpMyAdmin or similar tool

  4. Verify database server:

  5. Confirm host (usually localhost)
  6. Check port (usually 3306)
  7. Ensure database server is running

  8. Contact hosting provider:

  9. Request database setup assistance
  10. Verify database service availability

Issue 3: "500 Internal Server Error"

Symptoms: - White screen or generic error page - Installation wizard doesn't load - Server returns HTTP 500 errors

Solutions: 1. Check error logs: - Review cPanel error logs - Look for specific PHP errors - Check web server error logs

  1. Verify PHP version:
  2. Ensure PHP 8.1+ is active
  3. Check PHP configuration
  4. Verify required extensions

  5. File permissions:

  6. Ensure proper file permissions
  7. Check ownership settings
  8. Verify web server access

  9. Memory limits:

  10. Increase PHP memory limit
  11. Check execution time limits
  12. Monitor resource usage

Issue 4: Installation Wizard Not Loading

Symptoms: - Accessing domain shows default hosting page - /install URL returns 404 error - Files uploaded but not accessible

Solutions: 1. Verify file upload: - Confirm all files uploaded completely - Check file structure is correct - Ensure no missing folders

  1. Check domain configuration:
  2. Verify domain points to correct folder
  3. Confirm DNS settings
  4. Check web server virtual host

  5. URL rewriting:

  6. Ensure mod_rewrite enabled (Apache)
  7. Check .htaccess file present
  8. Verify URL rewriting rules

  9. Clear browser cache:

  10. Hard refresh (Ctrl+F5)
  11. Clear browser cache and cookies
  12. Try different browser or incognito mode

Issue 5: Email Notifications Not Working

Symptoms: - Test emails not received - System notifications not sent - SMTP configuration errors

Solutions: 1. Verify SMTP settings:

SMTP Host: Correct server address
SMTP Port: 587 (TLS) or 465 (SSL)
Username: Valid email account
Password: Correct password
Encryption: TLS or SSL

  1. Test email configuration:
  2. Use hosting provider's SMTP settings
  3. Try different email accounts
  4. Check spam/junk folders

  5. Firewall and security:

  6. Ensure SMTP ports not blocked
  7. Check server firewall settings
  8. Verify hosting provider allows SMTP

  9. Alternative solutions:

  10. Use hosting provider's mail function
  11. Configure SendGrid or Mailgun
  12. Enable less secure apps (Gmail)

🎓 Post-Installation Steps

Getting Started Checklist

After successful installation, complete these steps:

  • [ ] Login to admin panel and explore dashboard
  • [ ] Configure system settings (timezone, currency, etc.)
  • [ ] Set up email notifications with SMTP
  • [ ] Create hospital departments and services
  • [ ] Add doctor profiles with specializations
  • [ ] Set up staff accounts with appropriate roles
  • [ ] Configure payment gateways for billing
  • [ ] Test patient registration and appointment booking
  • [ ] Review security settings and SSL configuration
  • [ ] Set up regular backups for data protection

Training and Documentation

  • [ ] Read the User Manual for complete feature overview
  • [ ] Watch tutorial videos (if available)
  • [ ] Test all major features with sample data
  • [ ] Train your staff on system usage
  • [ ] Set up user accounts for all staff members

Ongoing Maintenance

  • [ ] Regular system updates when available
  • [ ] Database backups on scheduled basis
  • [ ] Monitor system performance and logs
  • [ ] Review security settings periodically
  • [ ] Update payment gateway settings as needed

📞 Getting Help & Support

If You Need Assistance

Support Channels: - Email Support: support@newwavesprojects.com - CodeCanyon Comments: Ask questions on the item page - Documentation: Complete user manual included - FAQ Section: Check common questions first

When Contacting Support: 1. Include your purchase code 2. Describe the specific error you're encountering 3. Provide screenshots of any error messages 4. Include server information (PHP version, hosting provider) 5. Mention steps you've already tried

Response Times: - Critical installation issues: 2-4 hours - General questions: 24-48 hours - Feature questions: 24-48 hours

Self-Help Resources

  • User Manual: Complete system documentation
  • FAQ Database: Common questions and solutions
  • Video Tutorials: Step-by-step feature walkthroughs
  • Community Forum: Connect with other users
  • Knowledge Base: Technical articles and guides

🎉 Installation Complete!

Congratulations! 🎊 You have successfully installed NewWaves Hospital Management System.

Your hospital is now ready to: - Manage patients with comprehensive records - Schedule appointments with automated reminders - Process billing with multiple payment options - Maintain medical records with security compliance - Provide patient portal for self-service access - Support mobile apps with complete API

Next Steps:

  1. Explore the admin dashboard to familiarize yourself
  2. Set up your first department and doctor profiles
  3. Create a test patient and book an appointment
  4. Configure email notifications for better communication
  5. Review security settings for production use

Welcome to NewWaves Hospital Management System!

Transform your healthcare facility with modern, efficient, and secure patient management. 🏥✨


Need help? Contact our support team at support@newwavesprojects.com

Last Updated: August 13, 2024
Version: 1.0.0
Installation Guide Version: 1.0