Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
This project is archived. Its data is
read-only
.
Changes
Page history
Update local workflow - Updating commands
authored
Oct 29, 2020
by
Kim Carter
Show whitespace changes
Inline
Side-by-side
local/local-workflow.md
View page @
b57e646b
...
...
@@ -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:
*
For
`provisionAppSlaves`
, from the
`purpleteam-lambda/`
root directory, run the following command:
```
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:
```
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
4.
Then check that conatiners are running as already discussed
...
...
...
...