Run heroku apps locally. This plugin is built into the Heroku Toolbelt, you do not need to install it separately.
To use:
$ heroku local
12:47:17 PM web.1 | listening on 3000
This command internally uses node-foreman to run the app locally.
run heroku app locally
USAGE
$ heroku local [PROCESSNAME]
OPTIONS
-e, --env=env location of env file (defaults to .env)
-f, --procfile=procfile use a different Procfile
-p, --port=port port to listen on
DESCRIPTION
Start the application specified by a Procfile (defaults to ./Procfile)
EXAMPLES
$ heroku local
$ heroku local web
$ heroku local web=2
$ heroku local web=1,worker=2
run a one-off command
USAGE
$ heroku local:run
OPTIONS
-e, --env=env
-p, --port=port
EXAMPLES
$ heroku local:run bin/migrate
run heroku app locally
USAGE
$ heroku local:start [PROCESSNAME]
OPTIONS
-e, --env=env location of env file (defaults to .env)
-f, --procfile=procfile use a different Procfile
-p, --port=port port to listen on
DESCRIPTION
Start the application specified by a Procfile (defaults to ./Procfile)
EXAMPLES
$ heroku local
$ heroku local web
$ heroku local web=2
$ heroku local web=1,worker=2
display node-foreman version
USAGE
$ heroku local:version