Tasks after deploy to Heroku - nobu0605/accounting-application-api GitHub Wiki
After deploy
composer install
heroku run composer install
・migration
heroku run php artisan migrate
・rollback
heroku run php artisan migrate:rollback
・Laravel passport
heroku run php artisan passport:install
・Heroku login and generate passport key
https://github.com/laravel/passport/issues/267#issuecomment-392222152
heroku ps:exec -a your_app_name
※php artisan passport:keys
heroku run php artisan passport:client --personal
Error log
https://qiita.com/shin_moto/items/8e8ca6f8355df09ce827
or
heroku logs --tail