I am learning ruby on rails and heroku. I have some questions. Could somebody help me?
- After running
heroku create
, the terminal is somehow connected to the repository/project in heroku. After that the developer can see logs, access database, ect. But, how can I access via terminal my completed project,which is online already, in heroku without creating the same apps and upload it again to heroku? - How can access my pg database in heroku or offline?
I saw this and try to run
heroku pg:psql
. it gives mehidden-atoll-4790::DATABASE=> help
I try \? to see pg command but I cannot use it. - I saw this link to see pg db offline. But why cannot I access
/var/lib/postgresql/9.3/main
directory ? it is said that I don't have permission eventhough my account is administrator account.