Skip to content

Latest commit

 

History

History
114 lines (77 loc) · 2.45 KB

File metadata and controls

114 lines (77 loc) · 2.45 KB

heroku local

run Heroku app locally

heroku local [PROCESSNAME]

run heroku app locally

USAGE
  $ heroku local [PROCESSNAME] [-e <value>] [-p <value>] [-f <value>] [--start-cmd <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
      --start-cmd=<value>  command to run as web when no Procfile is present

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>   location of env file (defaults to .env)
  -p, --port=<value>  port to listen on

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] [-e <value>] [-p <value>] [-f <value>] [--start-cmd <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
      --start-cmd=<value>  command to run as web when no Procfile is present

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