Skip to content

Commit

Permalink
Updated based on review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
liamfallon committed Feb 28, 2024
1 parent 40dba44 commit 3f4c3e8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 4 additions & 5 deletions docs/tutorials/porch-development-environment/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ Check out porch and start vscode in the root of your checked out Porch repo.
Edit your local `.vscode.launch.json` file as follows:
1. Change the `--kubeconfig` value to point at your local Kind cluster configuration file
2. Change the `--function-runner` IP address to that of the function runner service running in the Kind `management` cluster
3. You can specify `KUBECONFIG` in the `env` section of the configuration instead of using the `--kubeconfig` flag.

```
{
Expand All @@ -107,18 +108,16 @@ Edit your local `.vscode.launch.json` file as follows:
"--secure-port=9443",
"--v=7",
"--standalone-debug-mode",
"--kubeconfig=/home/sean-citizen/.kube/kind-management-config",
"--kubeconfig=${userHome}/.kube/kind-management-config",
"--cache-directory=${workspaceFolder}/.cache",
"--function-runner=172.18.255.201:9445"
],
"env": {
"KUBECONFIG": "/Users/liam/.kube/kind-management-config"
},
"cwd": "${workspaceFolder}"
},
```

You can now launch the Porch server locally in VSCode by selecting the "Launch Server" configuration on the VSCode "Run and Debug" window.
You can now launch the Porch server locally in VSCode by selecting the "Launch Server" configuration on the VSCode "Run and Debug" window. for
more information please refer to the [VSCode debugging documentation](https://code.visualstudio.com/docs/editor/debugging).

# Create Repositories using your local Porch server

Expand Down
2 changes: 2 additions & 0 deletions docs/tutorials/porch-development-environment/bin/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,5 @@ popd || exit
popd || exit

rm -fr "$TMP_DIR"

kubectl config use-context kind-management

0 comments on commit 3f4c3e8

Please sign in to comment.