I have an import utility I'd like to use for creating records on heroku.
I want to use that to import data from a file on my development machine without having to check the file into the repository. Is there a way to do this with a rake task or the heroku gem?
I could upload the file in a web form which could time out, or I could store the file on S3, but that seems rather excessive.
Any easy way to do this?
You can read from standard in on your machine.
heroku run rake whatever <./file
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With