Running your cloud apps locally

It makes a lot of sense for cloud-based app developers to run their apps locally before pushing them to the cloud (production) environment. Doing so helps the developer understand the app characteristics and also predict other app needs (such as sizing) in the cloud environment. If the app developer follows the Twelve-Factor app (TFA) methodology recommended for Heroku web apps and keeps the development environment as close as possible to the production environment, potential issues (if any) show up during a local run of the app, and that gives an opportunity to fix issues before they hit production.

In this context, Foreman is the tool of choice for most Heroku app developers. Foreman is a utility that comes bundled ...

Get Heroku Cloud Application Development 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.