deploy and database content

Subscribe to deploy and database content 1 post(s), 1 voice(s)

 
Avatar user_19 1 post(s)

Hi people,

So I’m still finding my way around rails development and Brightbox deployment/management and hoping there’s no such thing as a dumb question:
Is the database content on my development machine supposed to be uploaded with any of the deployment scripts?

Right now I’m developing on a mac (I’m pretty sure I installed all the latest versions of ruby and rail etc about a month or so ago). Everything so far seems to work fine. I have two different rails apps running on my Brightbox server, two different rails apps running on my dev machine. I can make changes on my dev machine and deploy them to the server without any issues. Going to the live site on the Brightbox the database is all in there and I can add and delete content fine. But say if I add records (so content) on my dev machine (for a simple example take a typical scaffold for movie, and I add Gone with the wind to the database) and I do either deploy or deploy:migrations this information does not appear on my server. I was wondering if there was a deploy method which would do this? Or what’s the easiest solution for it?
So far all I can think of is taking a dump of my database on my dev machine and manually upload it to the live site. The reason I want to do this is so I can create a website with all the bells and whistles and upload it all (content and all) to the live site. Is this possible?

Anyway if this isn’t can someone give me an example on how to take a dump of my dev database and upload it to my brightbox app?

Thanks!

Signup or login to contribute