I’ve been playing around with a rails app and showing the customer the updates by deploying it on heroku. Now the customer wants it set up on their on server…as a live site.
Heroku made deploying rails app so simple that I can not wrap my head around starting from scratch on a server.
To the experienced rails developers, what all is required to do this? My app uses postgresql and the server is a linux server. The customer claims that they have installed rails on the server.
Do I just have to install postgresql…create the DB…run migrations and voila? or is there other stuff involved as well. Up till now I was working with development section of database.yml…now it will pick up production?
Please give some pointers and/or links that explain the process.
Is there a reason why you can’t use Heroku as your production environment?
Edit:
If they’re running a php webserver the chances are they already have a functioning apache server. If this is the case you should look in to installing passenger and setting up a new database.
At this point you can either copy up your application yourself, run your rake tasks to get everything setup and then sit back and relax, or you can spend the time to learn how to use capistrano so you can repeatably deploy your application.
I suggest the latter… capistrano really isn’t that tricky and assuming your application set up is relatively sane the defaults should get you 90% of the way there.