- Clone this repo & update dependencies using composer.
$ cd sekolah-jewepe
$ composer update
- Copy the .env.example file.
- Create a new MySQL database dan set up the new database in .env file.
DB_DATABASE=database_name
DB_USERNAME=root
DB_PASSWORD=
- Open the seeder file located in
database/seeders/DatabaseSeeder.php
for login credential.
DB::table('users')->insert([
'name' => 'admin', // user name
'email' => 'admin@google.com', // user email
'role' => 'admin', // role
'password' => Hash::make("12345") // password
]);
- Create the application key:
$ php artisan key:generate
- Run migration & seed:
$ php artisan migrate --seed
- Run the project: