Skip to content

Commit d8b2c43

Browse files
committed
Revise readme with more accurate instructions
* add instructions for associating code after using deploy to heroku button
1 parent 8dc5086 commit d8b2c43

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

README.md

+16-3
Original file line numberDiff line numberDiff line change
@@ -124,14 +124,16 @@ There are two ways to issue the access token.
124124

125125
![](screenshots/oauth3.gif)
126126

127-
1. Click "Install App to Team".
127+
1. Click "Install App to Workspace".
128128

129129
![](screenshots/oauth4.gif)
130130

131131
1. Visit <https://slack.com/oauth/authorize?&client_id=CLIENT_ID&team=TEAM_ID&install_redirect=install-on-team&scope=admin+client> in your browser and authorize it.
132132
* It authorizes the `client` permission. Otherwise, you can see `{"ok":false,"error":"missing_scope","needed":"client","provided":"admin"}` error.
133-
* Your `CLIENT_ID` could be found in "Basic Information" menu of your app page that you just install.
134-
* Your `TEAM_ID` could be found in <https://api.slack.com/methods/team.info/test>
133+
* Your `TEAM_ID` is the subdomain for your slack team, e.g. myteam.slack.com - your TEAM_ID is `myteam`.
134+
* Your `CLIENT_ID` found in "Basic Information" section for your App.
135+
136+
![](screenshots/basic_info-client_id.png)
135137

136138
## Badge
137139

@@ -161,3 +163,14 @@ as reCAPTCHA v2 type.
161163
162164
Set "Site key" as `recaptchaSiteKey` or `RECAPTCHA_SITE`,
163165
and "Secret key" as `recaptchaSecretKey` or `RECAPTCHA_SECRET`.
166+
167+
## Associate fork with heroku
168+
If you use the "Deploy to Heroku" button and want to modify your App you should
169+
fork this project. After forking and making changes you should associate your
170+
repo with the deployed instance by running:
171+
172+
`$ heroku git:remote -a thawing-inlet-61413` replacing your heroku app's name
173+
and running
174+
175+
`$ git push heroku master` to upload the changes. For full details see
176+
[Heroku: deploying with git](https://devcenter.heroku.com/articles/git#for-an-existing-heroku-app)

screenshots/basic_info-client_id.png

35.3 KB
Loading

screenshots/oauth4.gif

34.9 KB
Loading

0 commit comments

Comments
 (0)