Manish S. wrote:
i think a virtual host would work, not sure on how it should be set
I’d like to know how the dispatch.fcgi will work with two rails apps
running, one being the main site, and one being the staging site.
Also, in regards to the database, i’m assuming that the main site will
using the railsapp_production database and the staging site will use
railsapp_development database. Is this correct? Is this stupid?
Thanks so much for the help.
You’ll run two different FCGI processes, one for each environment. I’d
agree with your choice of the dev db rather than test, as test gets
autoblownaway every time you run the tests.
Can you post your current apache config (the fcgi bit) and I’ll have a
go at showing what I mean.
Since you’re not actually developing on that staging server, the
development db should be untouched.
Capistrano should be helpful for this kind of activity. Jamis has an
article, from back when it was called Switchtower, that may or may not