Skip to content

revanapriyandi/e-learning

Repository files navigation

Build Status Total Downloads Latest Stable Version License

E-Learning

Laravel E-Learning System Script

Features

User Roles Teacher, Student.

Installation

Create a Database Table in phpMyAdmin

Extract the LaraELearn Source Code that has been downloaded to a folder anywhere.

Open Code Editor → Terminal.

In Terminal, navigate to the extracted e-learning folder. $ cd LaraELearn

Enter these commands one by one (without the $ sign),

$ cp .env.example .env
$ php artisan key:generate
$ php artisan storage:link

Edit the .env file like this,

DB_HOST = 127.0.0.1 // change to Host your database
DB_PORT = 3306
DB_DATABASE = e-learning // change to the name of the database table that you created
DB_USERNAME = root // change to be your database username, default root
DB_PASSWORD = ... // change to your databse password, null default 

Run this command for Seed : $ php artisan migrate --seed

Done 😉, to run LaraELearn enter the command below: $ php artisan serve

Then open the browser, and enter the url: http://localhost:8000

or if you want to run on another port, use the command: $ php artisan serve --port: 8000 // e.g. the port is "8000"

Thank you, Good Luck ... 😁

The Accounts on seeder:

Admin Account - Username: admin, Password: admin