$ heroku apps
=== My Apps
ancient-headland-3338
angular-boilerplate
cli-build
dickey-xxx
dickeyxxx-simple-mean
dickeyxxx-test
forkee
forker
forker-staging
frozen-brushlands-5103
heroku-cli-changes
heroku-npm-staging
immense-cliffs-60394
intense-meadow-92359
mean-ng2
mean-sample
my-sample-node-app
nameless-forest-5657
protected-cove-8677
secure-fortress-5303
shielded-depths-2902
shrouded-ravine-47757
=== Collaborated Apps
devclass [email protected]
dickeyxxx [email protected]
web-apps-dart [email protected]
$ heroku addons -a appname
Add-on Plan Price
─────────────────────────────────────────────── ───────── ─────
codeship (codeship-symmetrical-54012) free free
└─ as CODESHIP
heroku-postgresql (postgresql-rectangular-2230) hobby-dev free
└─ as HEROKU_POSTGRESQL_PINK
heroku-postgresql (postgresql-regular-58206) hobby-dev free
├─ as DATABASE
└─ as fooobar
heroku-redis (redis-defined-2951) hobby-dev free
└─ as HEROKU_REDIS_JADE
heroku-redis (redis-rigid-2920) hobby-dev free
├─ as ATTACHEDTWICE
└─ as REDIS
The table above shows add-ons and the attachments to the current app (forker) or other apps.
$ heroku orgs
addons-ux collaborator
dickeyxxx-testing-sudo-org admin
ex-idfed-sfdc-idp collaborator
federated-identity-test-2-org admin
heroku admin
heroku-add-ons admin
heroku-business-operations collaborator
heroku-dogwood admin
heroku-dogwood-tester admin
heroku-hk admin
heroku-marketing collaborator
heroku-support collaborator
heroku-tools collaborator
$ heroku help fork
Usage: heroku fork
Fork an existing app into a new one
--region REGION # specify a region
--skip-pg # skip postgres databases
--from FROM # app to fork from
--to TO # app to create
Copy config vars and Heroku Postgres data, and re-provision add-ons to a new app.
New app name should not be an existing app. The new app will be created as part of the forking process.
Example:
$ heroku fork --from my-production-app --to my-development-app
https://asciinema.org/a/6t7ui0i0v2lair1nskt83mzgs
$ heroku config:set -a forker FOO=bar
Setting config vars and restarting forker... done
FOO: bar
$ ~/s/g/h/elephant master heroku config:set -a forker
Setting config vars and restarting forker... done