Book Image

Heroku Cookbook

By : Mike Coutermarsh
Book Image

Heroku Cookbook

By: Mike Coutermarsh

Overview of this book

Heroku is a Platform as a Service that enables developers to rapidly deploy and scale their web applications. Heroku is designed for developer happiness, freeing developers from doing system administrative tasks such as configuring servers and setting up load balancers. Developers are able to focus on what they do best, building web applications, while leaving the details of deployment and scaling to the experts at Heroku. This practical guide is packed with step-by-step solutions to problems faced by every production-level web application hosted on Heroku. You'll quickly get comfortable with managing your Heroku applications from the command line and then learn everything you need to know to deploy and administer production-level web applications.
Table of Contents (17 chapters)
Heroku Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Introduction


Before releasing our latest code into the world, it's critical to have a staging environment that mimics our production application. This allows us to deploy code and catch issues internally before our users are affected. We want this staging environment to be exactly the same or very close to what is in production. Problems that come up with our application at this stage are often related to incorrect configuration or issues with Heroku itself. If our production and staging environments are the same in configuration, any issue that would occur in production will also be seen in staging. In this chapter, we will cover everything we need to know to set up a staging environment for our application.