drhenner/ror_ecommerce — Issue #20: sample data
Author: dancinglightning
Created: 2011-11-27 10:01:18+00:00
State: open

Now that the db:test:prepare works i'm surprised that there isn't really any data in there.
I had almost wondered about that, as I saw that the test:prepare seems to call the seed (?)

Anyway, for your meetup (and people giving ror-e a quick tryout) I would suggest some simple sample data: Apple products or something safe. Just a few (2-5). Mainly all the setup should be done, ie tax/shipping rates method, properties, product_types etc.

It makes for a learning experience to input those, but a slightly frustrating one as the system is new and unknown. A better experience is a ready setup, where one can edit and try out the things that interest most. That would be how an order is created in many cases and having to do a lot of work to get there can be off-putting.

One of the first things I actually did i spree was to write an import/export tool load/dump[file], i can point to the source if you like. But I recently found a good tool too yaml_db , actually does a lot of it and my for improves the syntax.

The point being that it is a very handy thing to be able to transfer data back and forth between production/development. Ie I did all my first setup on a dev machine and dumped it as yaml, and then when setting up my first production just imported all the setup ymls.

Nowadays I backup my production as yaml and as a benefit I get to import it into my dev (remember different dbs) and test new features on the real data. Very very handy.