GNU/Linux ◆ xterm-256color ◆ bash 388 views

Docker Method

cp project/.env.example project/.env
docker-compose up -d --build
docker-compose exec app php artisan migrate
docker-compose exec app php artisan db:seed

Generate passport with no interaction

 docker-compose exec app php artisan passport:install --no-interaction

Generate passport

docker-compose exec app php artisan passport:install --force

Check cron log

docker-compose exec app cat /var/log/cron.log