Skip to content
markus javier edited this page Apr 8, 2025 · 1 revision
  1. Clone the repository:

    git clone https://github.com/your-username/raffle-management-system.git
    cd raffle-management-system
    
  2. Install PHP dependencies:

    composer install
    
  3. Install NPM dependencies:

    npm install
    
  4. Create environment file:

    cp .env.example .env
    
  5. Generate application key:

    php artisan key:generate
    
  6. Configure your database in the .env file:

    DB_CONNECTION=mysql
    DB_HOST=127.0.0.1
    DB_PORT=3306
    DB_DATABASE=raffle_system
    DB_USERNAME=root
    DB_PASSWORD=
    
  7. Run migrations:

    php artisan migrate
    
  8. Create storage link:

    php artisan storage:link
    
  9. Build frontend assets:

    npm run dev
    
  10. Start the development server:

    php artisan serve
    

Visit http://localhost:8000 to access the application.

Clone this wiki locally