I have a working rails app on my local mac osx environment working with a local postgres database.
I have managed to get a sample app up and working on EBS using puma and mysql. I get that pushing the code up is a matter of using "git aws.push" - but what do i need to do to push the data up the the EBS environment (i'm happy to use either PG or mysql on EBS - but i'm guessing PG is the better choice given that's what the local app uses - if so, how would i need to configure my database.yml for PG on EBS)?
In short:
- how do i define and create the database on EBS?
- how do i do the equivalent of rake db:migrate in the EBS environment?
- how do i push the data in the tables up to EBS?