Iteration L4: Deploying with Fewer Steps on Heroku

If you are willing to give up some measure of control, a platform as a service can make deploying much easier. Heroku is a popular service that will deploy and manage your Rails application without requiring almost any of the steps above.

With Heroku, you do a bit of up-front configuration, then use Git to push your app’s repository to them. That git push triggers Heroku to deploy your app. Heroku connects your app to a database (Postgres in this case) and handles managing logs, running background workers, and everything else you’d need.

It comes at a price. For free, your app will sleep after inactivity and has a limited pool of requests it can serve per day. To have your app up and running ...

Get Agile Web Development with Rails 5.1 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.