Skip to content
Update local workflow - Updating commands authored by Kim Carter's avatar Kim Carter
...@@ -103,11 +103,11 @@ No local Lambda service needs to be running first, in our case: ...@@ -103,11 +103,11 @@ No local Lambda service needs to be running first, in our case:
2. Then simply run one of the following commands: 2. Then simply run one of the following commands:
* For `provisionAppSlaves`, from the `purpleteam-lambda/` root directory, run the following command: * For `provisionAppSlaves`, from the `purpleteam-lambda/` root directory, run the following command:
```shell ```shell
echo '<same-JSON-payload-as-above>' | sam local invoke -d 5858 --docker-network compose_pt-net provisionAppSlaves echo '<same-JSON-payload-as-above>' | sam local invoke -d 5858 --env-vars local/env.json --event - --docker-network compose_pt-net provisionAppSlaves
``` ```
* For `provisionSeleniumStandalones`, from the `purpleteam-lambda/` root directory, run the following command: * For `provisionSeleniumStandalones`, from the `purpleteam-lambda/` root directory, run the following command:
```shell ```shell
echo '<same-JSON-payload-as-above>' | sam local invoke -d 5858 --docker-network compose_pt-net provisionSeleniumStandalones echo '<same-JSON-payload-as-above>' | sam local invoke -d 5858 --env-vars local/env.json --event - --docker-network compose_pt-net provisionSeleniumStandalones
``` ```
3. [Debug](#debugging) in VS Code 3. [Debug](#debugging) in VS Code
4. Then check that conatiners are running as already discussed 4. Then check that conatiners are running as already discussed
... ...
......