Skip to content

Latest commit

 

History

History
106 lines (75 loc) · 2.2 KB

local.md

File metadata and controls

106 lines (75 loc) · 2.2 KB

heroku local

run Heroku app locally

heroku local [PROCESSNAME]

run heroku app locally

USAGE
  $ heroku local [PROCESSNAME] [-f <value>] [-e <value>] [-p <value>]

ARGUMENTS
  PROCESSNAME  name of the process

FLAGS
  -e, --env=<value>       location of env file (defaults to .env)
  -f, --procfile=<value>  use a different Procfile
  -p, --port=<value>      port to listen on

DESCRIPTION
  run heroku app locally
  Start the application specified by a Procfile (defaults to ./Procfile)

ALIASES
  $ heroku local:start

EXAMPLES
  $ heroku local
  $ heroku local web
  $ heroku local web=2
  $ heroku local web=1,worker=2

See code: src/commands/local/index.ts

heroku local:run

run a one-off command

USAGE
  $ heroku local:run [-e <value>] [-p <value>]

FLAGS
  -e, --env=<value>
  -p, --port=<value>

DESCRIPTION
  run a one-off command

EXAMPLES
  $ heroku local:run bin/migrate

See code: src/commands/local/run.ts

heroku local:start [PROCESSNAME]

run heroku app locally

USAGE
  $ heroku local:start [PROCESSNAME] [-f <value>] [-e <value>] [-p <value>]

ARGUMENTS
  PROCESSNAME  name of the process

FLAGS
  -e, --env=<value>       location of env file (defaults to .env)
  -f, --procfile=<value>  use a different Procfile
  -p, --port=<value>      port to listen on

DESCRIPTION
  run heroku app locally
  Start the application specified by a Procfile (defaults to ./Procfile)

ALIASES
  $ heroku local:start

EXAMPLES
  $ heroku local
  $ heroku local web
  $ heroku local web=2
  $ heroku local web=1,worker=2

heroku local:version

display node-foreman version

USAGE
  $ heroku local:version

DESCRIPTION
  display node-foreman version

See code: src/commands/local/version.ts