Skip to content

Commit 006d782

Browse files
authored
Update DEPLOYMENT.md (#198)
Updating port syntax for running Dockerfile locally; added specifics to create a client secret for GitHub App Auth and not a RSA Key
1 parent 189df29 commit 006d782

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

DEPLOYMENT.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Application can be deployed anywhere where containers can run and configured via
100100
For GitHub App:
101101

102102
```bash
103-
docker run -it --rm -p 3000:3000 \
103+
docker run -it --rm -p 3000:80 \
104104
-e NUXT_PUBLIC_SCOPE=organization \
105105
-e NUXT_PUBLIC_GITHUB_ORG=<org name> \
106106
-e NUXT_PUBLIC_USING_GITHUB_AUTH=true \
@@ -113,7 +113,7 @@ ghcr.io/github-copilot-resources/copilot-metrics-viewer
113113
or with PAT token and enterprise:
114114

115115
```bash
116-
docker run -it --rm -p 3000:3000 \
116+
docker run -it --rm -p 3000:80 \
117117
-e NUXT_PUBLIC_SCOPE=enterprise \
118118
-e NUXT_PUBLIC_GITHUB_ENT=<enterprise name> \
119119
-e NUXT_GITHUB_TOKEN=<github PAT> \
@@ -124,7 +124,7 @@ ghcr.io/github-copilot-resources/copilot-metrics-viewer
124124
or with PAT token and organization:
125125

126126
```bash
127-
docker run -it --rm -p 3000:3000 \
127+
docker run -it --rm -p 3000:80 \
128128
-e NUXT_PUBLIC_SCOPE=organization \
129129
-e NUXT_PUBLIC_GITHUB_ORG=<org name> \
130130
-e NUXT_GITHUB_TOKEN=<github PAT> \
@@ -159,5 +159,6 @@ or navigate using UI:
159159
7. Install the app in the organization:
160160
- Go to "Install App".
161161
- Select your organization.
162+
8. Generate a new `Client Secret` and copy it to a secure location. This is required for the application to authenticate with GitHub.
162163

163-
Note the `Client ID` and `Private Key`.
164+
Note the `Client ID` and `Client Secret`.

0 commit comments

Comments
 (0)