Chapter 13. Deployment

This chapter covers

  • Setting up Heroku for deployment
  • The twelve-factor methodology for building and serving web applications
  • Setting up Travis CI for continuous integration and automatic deployment
  • Setting up Mailgun for sending emails in production

Developing applications is fun, but using them is more fun. Nobody can use your application until you deploy it to the public internet somewhere. In this chapter, we’ll get you started on learning how to deploy Rails, and we’ll talk about how to deploy your app when your tests are green.

Deployment is a big topic, enough for dedicated books on the subject alone.[1] This book can’t possibly explain everything there is to know about deployment, so please think of this ...

Get Rails 4 in Action 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.