Skip to content
Update local workflow authored by Kim Carter's avatar Kim Carter
......@@ -19,7 +19,7 @@ We have tried [these launch configurations](https://aws.amazon.com/blogs/develop
```
2. Terminal 2: Host Lambda function. from the `purpleteam-lambda/` root directory using [`sam local start-lambda`](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-local-start-lambda.html). Run the following command:
```shell
sam local start-lambda --host 172.25.0.1 --docker-network compose_pt-net
sam local start-lambda --host 172.25.0.1 --env-vars local/env.json --docker-network compose_pt-net
```
3. Terminal 3: Invoke `provisionAppSlaves` from aws cli. From the `purpleteam-lambda/` root directory, start 10 containers:
```shell
......@@ -45,7 +45,7 @@ We have tried [these launch configurations](https://aws.amazon.com/blogs/develop
```
2. Terminal 2: Host Lambda function. from the `purpleteam-lambda/` root directory using [`sam local start-lambda`](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-local-start-lambda.html). Run the following command:
```shell
sam local start-lambda --host 172.25.0.1 --docker-network compose_pt-net
sam local start-lambda --host 172.25.0.1 --env-vars local/env.json --docker-network compose_pt-net
```
3. Terminal 3: Invoke `provisionSeleniumStandalones` from aws cli. From the `purpleteam-lambda/` root directory, start 10 containers:
```shell
......@@ -71,7 +71,7 @@ We have tried [these launch configurations](https://aws.amazon.com/blogs/develop
```
2. Terminal 2: Host Lambda function. from the `purpleteam-lambda/` root directory using [`sam local start-lambda`](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-local-start-lambda.html). Run the following command:
```shell
sam local start-lambda --host 172.25.0.1 --docker-network compose_pt-net
sam local start-lambda --host 172.25.0.1 --env-vars local/env.json --docker-network compose_pt-net
```
3. Terminal 3: Invoke `deprovisionS2Containers` from aws cli. From the `purpleteam-lambda/` root directory, run the following command:
```shell
......
......