View on GitHub

Number6

You are a number

back

Deploy a stand-alone copy of Number6

You will need

Run ./no6-app.sh in the project root,

it will ask you to supply 3 arguments:

It should take a couple of minutes to run, Number6 is a Kotlin app built with Maven so you’ll see lots of output from that going up the screen as it compiles, tests and packages everything, when it finishes you’ll see something like

   Successfully packaged artifacts and wrote output template to file template-export.yml.
   Execute the following command to deploy the packaged template
   aws cloudformation deploy --template-file /local/path/to/number6/deploy/template-export.yml --stack-name <YOUR STACK NAME>

Deploy Template

See this page for the deployment parameters you’ll need to provide next.

CLI

You can deploy the template from the command line by running the command given above with the following extra options added to it:

--capabilities CAPABILITY_IAM --profile <YOUR PROFILE> --region <YOUR REGION> --parameter-overrides SlackChannel=<YOUR SLACK CHANNEL ID> BlacklistedChannels=<YOUR BLACKLIST CSV> SlackTokenSecretName=<YOUR SECRET NAME> EnvType=<YOUR ENV TYPE>

and obviously you should replace the angled brackets and their contents with your own values. The --profile and --region options will probably be the same that you supplied the first time round; they don’t have to be but if you change them make sure you still have access to the bucket you specified in the first step.

Console

Alternatively you could deploy the template through the AWS console:

back