🚀 Travel Management System
Installation Guide

📋 Quick Overview: This guide will help you install the Travel Management System using our easy-to-use web installer. The entire process takes just a few minutes!

📋 System Requirements

🚀 Quick Installation (Recommended)

Step 1: Server Setup

Ensure your web server meets the system requirements and has PHP and MySQL/MariaDB installed and running.

Step 2: Upload Files

Upload all application files to your web server's document root (e.g., public_html, www, or htdocs).

Step 3: Set Permissions

Ensure the web server has write permissions to these directories:

# Linux/macOS
chmod -R 755 storage bootstrap/cache
chown -R www-data:www-data storage bootstrap/cache

# Windows (run as administrator)
icacls storage /grant IIS_IUSRS:F /T
icacls bootstrap\cache /grant IIS_IUSRS:F /T

Step 4: Access Web Installer

Open your web browser and navigate to:

http://your-domain.com/installer

The web installer will automatically handle all dependencies and guide you through the complete setup process.

🔧 Web Installer Process

Database Configuration

The installer will prompt you to enter your database details:

Installation Options

During the migration step, you'll be presented with two options:

🔑 Default Admin Credentials (if dummy data selected)

Email: [email protected]

Password: password

⚠️ Change these credentials immediately after first login!

✅ Post-Installation

System Access

Initial Configuration

  1. Update admin password and profile information
  2. Configure company settings and branding
  3. Set up user roles and permissions
  4. Add initial data (airlines, airports, etc.)
  5. Configure email settings for notifications
  6. Set up backup procedures

🔒 Security Recommendations

🔧 Manual Installation (Advanced Users Only)

Note: This section is for developers and system administrators only. Regular users should use the web installer above.

# 1. Install dependencies (developers only)
composer install --no-dev --optimize-autoloader

# 2. Copy environment file
cp .env.example .env

# 3. Generate application key
php artisan key:generate

# 4. Configure database in .env file
# Edit DB_HOST, DB_DATABASE, DB_USERNAME, DB_PASSWORD

# 5. Run migrations
php artisan migrate --force

# 6. Seed database (optional)
php artisan db:seed --force

# 7. Mark as installed
touch storage/installed

🛠️ Troubleshooting

Common Issues

Web Installer Issues

Installation Errors

Manual Recovery

If the web installer fails, you can complete installation manually:

php artisan migrate --force
php artisan db:seed --force  # Optional: for dummy data
touch storage/installed      # Mark as installed

📞 Support

If you encounter any issues during installation:

  1. Web Installer Issues: Check browser console for JavaScript errors and server logs for PHP errors
  2. Database Problems: Verify database credentials and user permissions
  3. Permission Errors: Ensure web server has proper write access to required directories
  4. Review Logs: Check Laravel logs in storage/logs/laravel.log for detailed error information
  5. Contact Support: Provide detailed error messages, system information, and installation steps attempted

🎉 Installation Complete!

Congratulations! Your Travel Management System is now ready to use. Remember to change default passwords and configure your system settings.

📚 Credits & Acknowledgments

This Travel Management System is built using several excellent open-source frameworks and libraries:

Core Frameworks

Frontend Libraries

Additional Components

License Information: All third-party libraries are used in accordance with their respective open-source licenses. We extend our gratitude to the developers and maintainers of these excellent tools that make this system possible.