Skip to content

Latest commit

 

History

History
27 lines (25 loc) · 647 Bytes

README.md

File metadata and controls

27 lines (25 loc) · 647 Bytes

Prerequisites

  1. Laravel 7.x and PHP 7.2.5.
  2. MySQL/MongoDB.
  3. Database user with all granted priviliges on database named math_exam_dblab.

How to install?

Run following commands:

git clone https://github.com/PdaOgu/OnlineMathExaminingDBLab.git
cd OnlineMathExamining
composer install
cp .env.example .env
php artisan key:generate
nano .env

Edit these fields with your database credentials

DB_USERNAME=<username>
DB_PASSWORD=<password>

Save .env and finally, run:

mysql -u '<username>'@'<host>' '-p<password>' < database/database_schema.sql
php artisan serve

Note: you can use dumped data inside database/data/