forked from intelops/compage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fd157d8
commit 4b120ed
Showing
7 changed files
with
36 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
- Register a new app on GitHub to retrieve clientId and clientSecret by following steps given on this link - https://docs.github.com/en/apps/creating-github-apps/creating-github-apps/creating-a-github-app. Update the clientId and clientSecret in ui/.env.development [For dev-environment] | ||
```shell | ||
# production config | ||
# github config | ||
REACT_APP_GITHUB_APP_CLIENT_ID=XXXXXX | ||
REACT_APP_GITHUB_APP_REDIRECT_URI=http://www.compage.dev:32222/login | ||
# compage-app config | ||
REACT_APP_COMPAGE_APP_SERVER_URL=http://www.compage.dev:31111 | ||
``` | ||
and add below keys in ~/.compage/.env | ||
```shell | ||
# github config | ||
GITHUB_APP_CLIENT_ID=XXXXXXXX | ||
GITHUB_APP_CLIENT_SECRET=XXXXXXXX | ||
GITHUB_APP_REDIRECT_URI=http://localhost:3001/login | ||
# compage-core config | ||
COMPAGE_CORE_URL=localhost:50051 | ||
``` |
File renamed without changes.