Laravel application with teacher guard.
-
Make sure you already have xampp installed (easy to use).
-
Clone this repository to your local machine or just download the zip from the above green button.
-
Install Composer first, then run this command in your command-line (you should be inside your project directory).
composer install
-
Rename .env.example to .env and add your database.
-
Generate application key.
php artisan key:generate
- Create tables.
php artisan migrate
- Start the development server.
php artisan serve
- Create a default teacher.
php artisan db:seed
- Email: info@senedu.com
- password: 123456