Chapter 6. Deployment

Now that you’ve built an application, let’s put it on the Web for everyone to see. Rails applications can be deployed in many ways. Rails runs on everything from simple shared hosting to dedicated servers to virtual servers in the cloud.

The cloud application platform known as Heroku is one of the easiest ways to deploy your application, and I cover it in this chapter. Heroku uses the Git version control system to deploy applications, so we need to talk about version control systems first.

Version Control

A version control system (VCS) records changes to files over time so you can easily go back to a specific version later. The repository is the data structure, usually stored on a server, that holds a copy of the files ...

Get Rails Crash Course 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.