How do i run the commands?
crt434 opened this issue · comments
Import::Monzo.new(monzo_access_token, monzo_account_id, ynab_account_id).import
where am I meant to run this? through heroku console? or something else. Sorry as I know this will be a stupid question @scottrobertson
Not a stupid questions, the docs naively assume an understanding of Rails.
You would login to the heroku console, run rails c
to get into a Rails console, and then you can run the commands from there.
Oh i have never used the web browser one... sorry i am not sure how to solve that. I recommend the CLI tool.
Ok i brew installed heroku. And I have a copy of your app in my heroku account. What commands do I issue from cli in order to run that import command? as I'm struggling how to even get 'into' the instance :)
heroku run -a APP_NAME rails c
will get you into a rails console
Added to Getting Started docs