- Laravel Jetstream
- Livewire V3 beta, Downgrade to V2 cek
composer.json
- Tailwindcss
- Download semua dependencies
composer update
- Settings Environment, on windows
copy .env.example .env
and on linuxcp .env.example .env
- Generate enkripsi key app
php artisan key:generate
- Create new database on mysql query
CREATE DATABASE nama_database
atau di phpmyadmin - Settings environment database db_name, user, password
// jika profile photo tidak muncul ganti APP_URL menjadi APP_URL=http://127.0.0.1:8000 DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=nama_databse DB_USERNAME=root DB_PASSWORD=
- Migrate
php artisan migrate
- Active Storage link
php artisan storage:link
- Jalankan Seeder
php artisan db:seed
- Development mode
npm run dev
build to productionnpm run build
- Finally
php artisan serve
- Login apliaction
Login as admin email : [email protected] password : admin1234 Login as user email : [email protected] password : user1234
Note: untuk mengganti data user, sebelum menjalankan seed ganti data pada
database/seeders/UserSeeder.php
ganti sesuai kebutuhan jika ada tambahan costum role, edit default role pada migration users, dan modifikasi HomeController untuk role baru pada if...else