update package-dir -> package (#29)

Signed-off-by: Nima Kaviani <nkaviani@amazon.com>
This commit is contained in:
Nima Kaviani 2024-08-15 16:46:47 -07:00 committed by GitHub
parent ad630da0ab
commit 7e0474b3bb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 27 additions and 30 deletions

View file

@ -30,9 +30,11 @@ Codespaces assigns random hostname to your specific instance. You need to make s
Instance host name is available as an environment variable (`CODESPACE_NAME`). Let's use it to setup our host names.
Run the following commands to update host name and ports. Port is set to 443 because this is the port used by the browser to access your instance.
Clone the [stacks](https://github.com/cnoe-io/stacks) repo.
```bash
cd examples/ref-implementation
cd ref-implementation
./replace.sh ${CODESPACE_NAME}-8080.${GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN} 443
@ -44,7 +46,7 @@ Now you are ready to run idpbuilder with reference implementation.
```bash
idpbuilder create --protocol http \
--host ${CODESPACE_NAME}-8080.${GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN} \
--port 8080 --use-path-routing --package-dir examples/ref-implementation
--port 8080 --use-path-routing --package ref-implementation
```
Once idpbuilder finishes bootstrapping, you should have port 8080 forward in the port tab within Codespaces.