Before getting started, make sure you have the following requirements installed on your system:
- PHP
- Laravel
- Mysql
Follow these steps to get the project up and running on your local machine:
- Clone the repository to your local machine:
git clone https://github.com/bimprakosoo/klasemen.git
- Navigate to the project directory:
cd your-repository
- Install the project dependencies using Composer:
composer install
- Migrate the database or execute sql file that available in this repository
php artisan migrate
- 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
- Generate an application key:
php artisan key:generate
- Run the application:
php artisan serve