I’ve been trying to setup my first rails app–I’m okay at stumbling around on my local machine (OSX) and finding out how to do stuff…
I want to setup my local machine to deploy on Heroku.
I have a heroku account, and rails running on my mac…how do I get the database setup for both my local config and heroku? I have MySql locally, but it looks like heroku uses Postgre…
Can you give me a step-by-step process so that I can get to making my app and forget about server config?! 🙂
You should be ok if you havent written any mysql specific code. Rails handles converting the rails model/controller code to whatever database you are using. As it says here, you are probably going to want to type:
heroku db:push
to set up your database using the schema and import the data from your local database.