Comparing
version 20 and
version 19 backDeploying your application for the first time (or even tenth) can be an overwhelming experience. If you get stuck at any time during your deployment, don't hesitate to ask our team for help by contacting our "support team":http://www.planetargon.com/support.html.
h3. *breaking news*
"argon_masala":http://github.com/thorny-sun/argon_masala/tree/master was just published and should help a lot. it puts all the deployment knowledge of these wiki docs into capistrano recipes so you don't have to worry about all this (hopefully that is true-- it is just the first release at the moment).
h3. **end breaking news***
Everything on this page is related to deploying a Rails application. If you're attempting to deploy a non-Rails application, please look under [[Extras]].
Okay, let's get started...
h2. Step 1: Understanding Rails Deployment
You'll want to become familiar with the following technologies.
* [[Capistrano]]
* [[Proxies]]
h2. Step 2: Training your Mongrel
We highly encourage you to use Mongrel for running your Rails applications in a production environment.
* [[Mongrel Configuration|Configuration]]
Once you have your mongrel or mongrel::cluster running, you'll want to select a proxy server to balance your mongrel instance(s).
h2. Step 3: Selecting a proxy/web server
There are several options available to you for serving your Ruby on Rails applications. Each of them has it's own benefits and drawbacks, so we'll leave it to you to make the best decision for you. We have our favorites and you may have yours.
h3. Nginx (our favorite in 2007)
* [[Nginx Configuration|Basic Configuration]]
* [[Running and Stopping Nginx|Starting & Stopping]]
* [[Nginx Multiple Domains|Configuring for Multiple Apps on Separate Domains]] (including subdomains)
h3. Pound (our favorite in 2006)
* [[Pound Configuration|Configuration]]
h3. Lighttpd (our favorite in 2005)
* [[Lighttpd Configuration|Configuration]]
* [[Lighttpd Problems|Problems]]
h2. Step 4: Make sure your app starts up when the server reboots
* [[Server Reboots]]
h2. Configuration
When you're trying to fine tune your deployment, some of these tutorials and tips may come in handy.
* [[ActionMailer Configuration]]