-
Notifications
You must be signed in to change notification settings - Fork 426
app init command
David Killmon edited this page Mar 19, 2020
·
13 revisions
$ ecs-preview app init
ecs-preview app init
creates a new CLI app for you.
After running this command, the CLI creates sub-directory with your app name in your local ecs-project
. And you'll see a manifest file in it. Feel free to update your manifest file to change the default configs for your app. The CLI also sets up an ECR repo with a policy for all environments to be able to pull from it. Then, your app gets registered to AWS System Manager Parameter Store so that the CLI can keep track of your app.
After that, if you already have an environment set up, you can run ecs-preview app deploy
to deploy your app in that environment.
-t, --app-type string Type of application to create.
-d, --dockerfile string Path to the Dockerfile.
-h, --help help for init
-n, --name string Name of the application.
--port uint16 Optional. The port on which your Dockerfile listens.