File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ The goal is to create a set of environment variables that look like this:
16
16
17
17
``` bash
18
18
BASE_URL=https://gitnotebooks.mycompany.com
19
- GITHUB_BASE_URL=https://github.mycompany.com
19
+ GITHUB_BASE_URL=https://github.mycompany.com/api/v3
20
20
GITHUB_APP_IDENTIFIER=499732
21
21
GITHUB_CLIENT_SECRET=0f2e9190d598624847d2b259b5b567cf981d5072
22
22
GITHUB_PRIVATE_KEY=LS0tLS12dJQkFNB2s3emt2dBS0nRzbXQzVCRUdJUUVBc2pzNFRSb0ErUVdWdMbFZUeklyQmtkYkZFURSBTXZiZnlqQW9FHU0EgUFJJVk1YWZWUGxaV1NOKUTiBSbNi9HOUTV0YLRVktLS0tLQpCg==
@@ -141,8 +141,9 @@ GITHUB_PRIVATE_KEY=LS0tLS12dJQkFNB2s3emt2dBS0nRzbXQzVCRUdJUUVBc2pzNFRSb0ErUVdWdM
141
141
GITHUB_WEBHOOK_SECRET=d1ae70aaf90bd909ce44927350d9aba8c1136d34
142
142
GITHUB_APP_URL=https://github.mycompany.com/apps/gitnotebooks-self-hosted
143
143
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
146
147
147
148
# From `Creating a database`
148
149
DATABASE_URL=postgresql://postgres:somepassword@git-notebooks.database.url.rds.amazonaws.com:5432/postgres
You can’t perform that action at this time.
0 commit comments