_nifectl init_

Initialize a new application

About#

The INIT command will both register a new application with the Nife platform and create the nife.toml file which controls how the application will be deployed. The --builder flag allows a cloud native buildpack to be specified which will be used instead of a Dockerfile to create the application image when it is deployed.

Usage#

nifectl init [APPNAME] [flags]

Options#

--builder string The Cloud Native Buildpacks builder to use when deploying the app
--builtin string The Nife Runtime to use for building the app
--dockerfile Use a dockerfile when deploying the app
-h, --help help for init
--image string Deploy this named image
--import string Create but import all settings from the given file
--name string The app name to use
--nowrite Never write a nife.toml file
--org string The organization that will own the app
--overwrite Always silently overwrite an existing nife.toml file
-p, --port string Internal port on application to connect to external services

Global Options#

-t, --access-token string Nife API Access Token
-j, --json json output

See Also#