In my Rails App, I scraped many data from other websites, and it's all on my local development database
.
Now, I want to deploy my website to Heroku
, and I want to upload the local data as well, so I don't need to scrape those data again. How can I do it?
I think I can just convert the local data(just a few models) into yml
, or csv
, and then write a rake task
to read from those file.
I'm wondering if there are better approaches.