Ahmad Reza
Ahmad Reza

Reputation: 913

see files/folders from heroku dashboard

I recently use Heroku for deploying my app. Is there a feature that allows me to see which files I uploaded to Heroku , for example in any Github repo I can see all my files/folder structure and I can view them and change them. I can't find anything like this inside Heroku dashboard and I wonder if this feature exists!

Upvotes: 1

Views: 3037

Answers (1)

Gourav Saini
Gourav Saini

Reputation: 677

Yes you can see but via Heroku CLI. If currently you are in your app which you pushed to heroku you can directly run

heroku run ls

Else you can use following command for a specific app

heroku run bash --app

Note: Login before you run.

You can also log into your heroku account and do it from the dashboard as you can see on the photo:

step by step to access console on heroku dashboard Once the console is opened you can run normal terminal commands, such as:

ls

cd dirname

cat filename

etc...

Upvotes: 3

Related Questions