- Laravel 7.x and PHP 7.2.5.
- MySQL/MongoDB.
- Database user with all granted priviliges on database named
math_exam_dblab
.
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/