Klasemen Sepak Bola

Prerequisites

Before getting started, make sure you have the following requirements installed on your system:

  1. PHP
  2. Laravel
  3. Mysql

Installation

Follow these steps to get the project up and running on your local machine:

    1. Clone the repository to your local machine:
git clone https://github.com/bimprakosoo/klasemen.git
    1. Navigate to the project directory:
cd your-repository
    1. Install the project dependencies using Composer:
composer install
    1. Migrate the database or execute sql file that available in this repository
php artisan migrate
  1. Set up your database configuration by creating a .env file. You can use the .env.example file as a template:
cp .env.example .env

Update the following lines in the .env file with your MongoDB connection details:

DB_CONNECTION=mongodb
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=your_database_name
DB_USERNAME=your_username
DB_PASSWORD=your_password
    1. Generate an application key:
php artisan key:generate
      1. Run the application:
    php artisan serve