Skip to content

Commit 44da1f1

Browse files
authored
Correct the self-hosted GITHUB_BASE_URL docs
1 parent e500ae8 commit 44da1f1

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/self_hosted.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The goal is to create a set of environment variables that look like this:
1616

1717
```bash
1818
BASE_URL=https://gitnotebooks.mycompany.com
19-
GITHUB_BASE_URL=https://github.mycompany.com
19+
GITHUB_BASE_URL=https://github.mycompany.com/api/v3
2020
GITHUB_APP_IDENTIFIER=499732
2121
GITHUB_CLIENT_SECRET=0f2e9190d598624847d2b259b5b567cf981d5072
2222
GITHUB_PRIVATE_KEY=LS0tLS12dJQkFNB2s3emt2dBS0nRzbXQzVCRUdJUUVBc2pzNFRSb0ErUVdWdMbFZUeklyQmtkYkZFURSBTXZiZnlqQW9FHU0EgUFJJVk1YWZWUGxaV1NOKUTiBSbNi9HOUTV0YLRVktLS0tLQpCg==
@@ -141,8 +141,9 @@ GITHUB_PRIVATE_KEY=LS0tLS12dJQkFNB2s3emt2dBS0nRzbXQzVCRUdJUUVBc2pzNFRSb0ErUVdWdM
141141
GITHUB_WEBHOOK_SECRET=d1ae70aaf90bd909ce44927350d9aba8c1136d34
142142
GITHUB_APP_URL=https://github.mycompany.com/apps/gitnotebooks-self-hosted
143143

144-
# Base URL of your GitHub instance, if you are not self-hosting GitHub, simply use https://github.com
145-
GITHUB_BASE_URL=https://github.com
144+
# Base URL of your GitHub API. If you are not self-hosting GitHub, simply use https://api.github.com
145+
# If you are using GitHub Enterprise Server use https://mycompany.github.com/api/v3
146+
GITHUB_BASE_URL=https://api.github.com
146147

147148
# From `Creating a database`
148149
DATABASE_URL=postgresql://postgres:somepassword@git-notebooks.database.url.rds.amazonaws.com:5432/postgres

0 commit comments

Comments
 (0)