davesag / open-recipe

A facebook app that allows people to share their favourite home recipes
0 stars 0 forks source link

Write a simple data export script #15

Closed davesag closed 12 years ago

davesag commented 12 years ago

Write a script that exports Ingredients, Recipes, Users, etc into YML files for reloading as needed by the db:seed command.

davesag commented 12 years ago

This is almost done but it's turned up a few bugs in the seeding script. See for example issue #17

davesag commented 12 years ago

You can now run foreman run rake db:extract to export the data into YML files which foreman run rake db:seed can read back in again if you copy them to the ./config folder.