Hello everyone,
I apologize if I’m missing a really obvious resource for this – I’ve
looked and haven’t found anything.
I’m working my way through my first real Rails application, and so
far, have spent all of my time in Development mode. We’re pretty close
to launching (at least as an alpha version of the site), and I’m
totally in the dark about the best way to go about moving into
production database-wise.
There are tons of resources on getting your server running – I have
that covered. What I don’t really know is what to do with the
database. Is it best to start the Production database from scratch and
load everything into it? I have a fair bit of data from testing in my
development database, and wouldn’t mind having that move over to
production. How kosher is that? Is there a particular accepted
strategy for this?
To go one step further, since we’ll be continuously developing the
application, when I am ready to upgrade the production environment, do
I simply run any of the outstanding migrations on it?
I feel like I’m missing some big, giant, obvious answer, and if there
is a lot written about this, I would be eternally grateful if someone
would point me in that direction.
Thanks,
Dan