Forking an application

When maintaining most complex applications, it is a common practice to create multiple environments to support the development of various features independently, hence parallelizing the whole process and creating efficiency. It makes a lot of sense to use the stable production environment as a baseline for these multiple environments, what are being used to stage or test the application.

Using the heroku fork command allows you to do the following:

  1. Copy an existing application.
  2. Reprovision used add-ons (with the same pricing plan).
  3. Copy configuration variables.
  4. Copy any data from the Heroku Postgres database.

The following are the outcomes after successfully executing the command:

  • The Heroku user executing the command is the owner ...

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.