/sekolah-jewepe

Laravel 10 blog application

Primary LanguageJavaScript

Installation

  1. Clone this repo & update dependencies using composer.
$ cd sekolah-jewepe
$ composer update
  1. Copy the .env.example file.
$ cp .env.example .env
  1. Create a new MySQL database dan set up the new database in .env file.
DB_DATABASE=database_name
DB_USERNAME=root
DB_PASSWORD=
  1. 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
]);
  1. Create the application key:
$ php artisan key:generate
  1. Run migration & seed:
$ php artisan migrate --seed
  1. Run the project:
$ php artisan serve