- Open Project jurnal
-
Setup Installation
- Open terminal with path the project
- Run
composer install
- Run
npm install
- Run
npm run dev
-
Setup Environtment
- Duplicate
.env.example
- Rename to
.env
- Run
php artisan key:generate
- Setup
.env
DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=yourdatabase DB_USERNAME=yourusername DB_PASSWORD=yourpassword
Don't forget to create database in MySQL
- Duplicate
-
Setup Project
- Open terminal with path the project
- Run
php artisan migrate:fresh
- Run
php artisan db:seed --class=RoleTableSeeder
- Run
php artisan db:seed --class=AdminSeeder
- Run
php artisan db:seed --class=JurnalisSeeder
//optional - Run
php artisan db:seed --class=RedakturSeeder
//optional - Run
php artisan db:seed --class=StatusSeeder
- Run
php artisan db:seed --class=RubikSeeder
//optional - Run
php artisan db:seed --class=KategoriSeeder
//optional - Run
php artisan db:seed --class=HeadlineSeeder
- Run
php artisan serve
- Open the url