Skip to content

Latest commit

 

History

History
100 lines (71 loc) · 2.11 KB

local.md

File metadata and controls

100 lines (71 loc) · 2.11 KB

heroku local

run Heroku app locally

heroku local [PROCESSNAME]

run heroku app locally

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

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>]

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