Closed robertstarmer closed 10 years ago
I terms of deployment, the "rails server" method of running the applications is really just for development. In production systems the structure should be:
http://www.varyonic.com/2012/03/apache-unicorn-ssl/#.Ul8MEha1PDk
There are several documents around like the one above which gives an idea about how its done. In a co-deployment, I think the plan would be to have a single web server e.g. apache, and have multi virtual hosts on that server perhaps differentiating by sub domain.
This is something we toyed with, but never fully confirmed or tested and could defiantly be something that needs researching and documenting.
Actually, since we already have a passenger instance on a node in the openstack system domain where this is likely deployed, it would be nice to know how to deploy to that environment... (apache+passenger see build-node).
On Oct 16, 2013, at 5:06 PM, Sam Betts notifications@github.com<mailto:notifications@github.com> wrote:
I terms of deployment, the "rails server" method of running the applications is really just for development. In production systems the structure should be:
http://www.varyonic.com/2012/03/apache-unicorn-ssl/#.Ul8MEha1PDk
There are several documents around like the one above which gives an idea about how its done. In a co-deployment, I think the plan would be to have a single web server e.g. apache, and have multi virtual hosts on that server perhaps differentiating by sub domain.
This is something we toyed with, but never fully confirmed or tested and could defiantly be something that needs researching and documenting.
— Reply to this email directly or view it on GitHubhttps://github.com/CiscoSystems/curvature/issues/2#issuecomment-26463125.
This seems like a long time after the initial issue was posted to reply, but I'm just going through doing some spring cleaning, we now have a guide for setting up curvature in a production environment using apache and unicorn as the app server. There are several generic guides for deploying rails into different environments here, including passenger: http://rubyonrails.org/deploy/
if nothing else, a pointer that donabe or curvature need a different port for the rails server command. Perhaps as a part of the quickstart?
And if this is already there, I appologize, but I skimmed the docs to get this up and running.