In the Heroku dashboard under the 'More' button you will find 'console'..type 'bash' in there and a console will open. Then do 'php artisan telescope:install' and later on 'php artisan migrate'. If you do that now you will get an error saying something about utf. You have to add environment variables under 'settings' in heroku app specifying you default database connection. DB_CONNECTION=pgsql and APP_ENV=local to get telescope to work. This is not a pretty way. Better is to do this https://laravel.com/docs/8.x/telescope#dashboard-authorization
Oct 20, 2019
2
Level 5
Deploy Laravel application to heroku
Hello everyone,
I've successfully deployed a laravel application to heroku, but the problem is i can't publish a package inside it, for example i want to publis telescope package or Horizon so i can access it in production like so: heroku_app.com/telescope.
Please or to participate in this conversation.