So I’m trying to figure out the best way to do this. I have my main
rails app ready, but say I wanted to keep it separate from a front-end
using the Mephisto rails app, whats the easiest way to do this? This
way I can easily upgrade Mephisto when upgrades come out without having
to merge all my code, controllers, modules in it etc.
The mephisto setup will be used for around 5-10 pages and I can then
have the page/post management of Mephisto built right in. This will be
at say www.mydomain.com. Then I want to have my app which is password
protected and only for authenitcated users in something like
www.domain.com/myapp which has its own layouts, controllers modules,
In PHP this is as simple as nesting directories or separate apps, but
in rails is quite different, especially taking into account deployment
methods such as Capistrano and such.
Do I keep the apps separate and put a symlink to myapp’s public dir in
the mephisto public dir? Will I have to do some fancy Rewrite rules?
Would this even be possible on a virtual host or VPS or will I actually
have to merge all my code in to Mephisto? If not I suppose I could use
a PHP based front-end like wordpress and then have a link there to my
Right now I’d like to deploy on a Ubuntu VPS via Nginx and Mongrel
Cluster but can also easily do Apache, mod_proxy_balancer, Mongrel.
Any advice would be greatly appreciated, thanks.