Installation Guide

482 Views

Prerequisites

Before installing, ensure your server meets the following requirements:

  • PHP >= 8.2 with required extensions
  • MySQL >= 5.7 or MariaDB >= 10.3
  • Composer >= 2.0
  • Node.js >= 18 (for asset compilation)

Step 1: Upload Files

Upload the application files to your server's web root directory (e.g., public_html or /var/www/html).

Step 2: Configure Environment

Copy .env.example to .env and update the database credentials:

DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=your_database
DB_USERNAME=your_username
DB_PASSWORD=your_password

Step 3: Run Installation

Run the following commands:

composer install --no-dev
php artisan key:generate
php artisan migrate --seed
php artisan cms:publish:assets
php artisan optimize

Step 4: Access Admin Panel

Visit yourdomain.com/admin to access the admin panel. Default credentials are provided during installation.