Build docker images:
docker composer build
Run docker containers:
# Or use IDE tools instead
docker compose up
Install composer dependencies:
composer install
Install npm packages for api documentation generator.
# If not in src folder
cd src
npm install
Further, commands must be executed inside the
php
docker container
Decrypt .env file
Paste actual decryption key and cipher method instead of
{key}
and{cipher}
php artisan env:decrypt --key={key} --cipher={cipher}
Run migrations:
php artisan migrate
Create Passport encryption keys:
php artisan passport:install
Create a Personal Access Token Client:
php artisan passport:client --personal