-
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.
Heroku setup documented and managed via env vars
- Loading branch information
Showing
2 changed files
with
43 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Bootstrapping ployst in Heroku | ||
|
||
## In Github | ||
|
||
Create an application entry in Github. | ||
|
||
https://github.com/settings/applications/ | ||
|
||
Callback URL: http://ployst.com/github/oauth-confirmed/ | ||
|
||
Copy client ID and client secret to use as `GITHUB_CLIENT_ID` and | ||
`GITHUB_CLIENT_SECRET`. | ||
|
||
## In ployst | ||
|
||
Go to admin and create an API token, label github. | ||
Copy the token to use as `GITHUB_CORE_API_TOKEN` | ||
|
||
## In Heroku | ||
|
||
Go to ployst settings page: | ||
|
||
https://dashboard.heroku.com/apps/ployst/settings | ||
|
||
Reveal config vars. Add/set values for the following: | ||
|
||
GITHUB_CORE_API_TOKEN | ||
GITHUB_CLIENT_ID | ||
GITHUB_CLIENT_SECRET | ||
|
||
All these can also be set via `heroku config`. |
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