Home arrow Ruby-on-Rails arrow Application Deployment
RUBY-ON-RAILS

Application Deployment


Before an application can make it onto the Internet, it needs to go into a production environment and be deployed. This multi-part article series will show you how to do this for the Ruby-on-Rails ecommerce application we've been working on. It is excerpted from chapter 12 of the book Practical Rails Projects, written by Eldon Alameda (Apress; ISBN: 1590597818).

Author Info:
By: Apress Publishing
Rating: 5 stars5 stars5 stars5 stars5 stars / 2
August 05, 2010
TABLE OF CONTENTS:
  1. · Application Deployment
  2. · Connecting to the Production Server: SSH
  3. · Installing the Web Server: LightTPD
  4. · Installing the Application Server: Ruby on Rails and FastCGI

print this article
SEARCH DEVARTICLES

Application Deployment
(Page 1 of 4 )

In this chapter, we’ll show you how to set up an application’s production environment, including the LightTPD web server and FastCGI extension. Then we will walk through the manual deployment process. Finally, we’ll demonstrate how to simplify deployment tasks with Capistrano, a tool specifically designed to automate the deployment of Ruby on Rails applications.

Setting Up the Production Environment

George has bought a new Intel-powered server running Ubuntu Linux, to which we will deploy LightTPD (web server), Ruby on Rails and FastCGI (application server), and MySQL (database server). The high-level system architecture of the Emporium production environment is shown in Figure 12-1.

Although we talk about three different servers, the production environment consists of only one physical machine, since that is all we need to start. Later, we can support more traffic if the need arises by scaling horizontally (adding more machines) or vertically (adding more processing power).


Figure 12-1.  The Emporium production environment


blog comments powered by Disqus
RUBY-ON-RAILS ARTICLES

- Ruby-on-Rails Faces Second Security Flaw in ...
- Ruby 2.0 Prepped for February 2013 Release
- Why LinkedIn Switched from Ruby on Rails
- Adding Style with Action Pack
- Handling HTML in Templates with Action Pack
- Filters, Controllers and Helpers in Action P...
- Action Pack and Controller Filters
- Action Pack Categories and Events
- Logging Out, Events and Templates with Actio...
- Action Pack Sessions and Architecture
- More on Action Pack Partial Templates
- Action Pack Partial Templates
- Displaying Error Messages with the Action Pa...
- Action Pack Request Parameters
- Creating an Action Pack Registration Form

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 

Developer Shed Affiliates

 




© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials