Please follow the guide.
git cloneupdate the .env file along with database connectioncomposer install && composer updatephp artisan key:generatephp artisan migratephp artisan db:seednpm install
Open a terminal window and install the passport using following command
php artisan passport:install
Copy the keys for personal and password grants in .env file
PERSONAL_CLIENT_ID=1
PERSONAL_CLIENT_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
PASSWORD_CLIENT_ID=2
PASSWORD_CLIENT_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx