Rename the .env.example file to .env and edit its content with your database credentials.
Create database
Create a MySQL database with a name matching the one under DB_DATABASE in your .env file.
cd into project folder from cmd/terminal
cd path/to/folder
Install database tables
php artisan migrate
Add some needed data to tables
php artisan db:seed
Generate keys for laravel passport
php artisan passport:install
Update passport client secret
- Copy/paste the bottom client_secret code from the php artisan passport:install command.
- Replace the code with the code after PASSPORT_CLIENT_SECRET in the .env file.