© Greg Donald 2024
G. DonaldHands-on Test-Driven Developmenthttps://doi.org/10.1007/978-1-4842-9748-3_15

15. Bonus: Deploy to Production

Greg Donald1  
(1)
Clarksville, TN, USA
 

In this “bonus” chapter, we will deploy our Rails blog application into production. You do not need to read this chapter to complete the book. This chapter is extra, for those who are interested in learning how to deploy a Rails application into production.

We will install and configure Capistrano,1 a remote server automation and deployment tool, and then command it to perform a repeatable production deployment. On our production server, we will run Debian Linux. We will install and configure Ruby and Phusion Passenger2 to work with an Apache web server. We will configure ...

Get Hands-on Test-Driven Development: Using Ruby, Ruby on Rails, and RSpec now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.