Skip to content

Commit

Permalink
Merge pull request #774 from aoberoi/issue-773
Browse files Browse the repository at this point in the history
fixes broken links to local development tutorial
  • Loading branch information
aoberoi committed Apr 18, 2019
2 parents 5ea5f14 + ce59849 commit ce7daeb
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 13 deletions.
5 changes: 3 additions & 2 deletions README.md
Expand Up @@ -92,7 +92,8 @@ $ ./node_modules/.bin/slack-verify --secret <signing_secret> [--path=/slack/even
Run the command with your own signing secret (provided by Slack in the "Basic Information"), and optionally a path or a
port. A web server will be listening for requests containing a challenge and respond to them the way Slack expects. Once
the Request URL is verified and saved, you can stop the server with `Ctrl-C` and start working on your app. We also have
a tutorial with information about [getting a public URL that can be used for development](https://slack.dev/node-slack-sdk/local_development).
a tutorial with information about [getting a public URL that can be used for
development](https://slack.dev/node-slack-sdk/tutorials/local-development).

You app will use the `createEventAdapter()` function, which is an export from `@slack/events-api`. It creates an object
that emits events, just Node's built-in `EventEmitter`, except they are happening in Slack. It also has a `start()`
Expand Down Expand Up @@ -144,7 +145,7 @@ Slack App configuration settings.
Your app will receive actions from interactive messages and other components at the Request URL you registered with
Slack. Unlike the Events API, the Request URL doesn't need to be verified, because you're only receiving actions from
messages your app generated in the first place. It may be helpful to read our tutorial on [getting a public URL that can
be used for development](https://slack.dev/node-slack-sdk/local_development).
be used for development](https://slack.dev/node-slack-sdk/tutorials/local-development).

Your app will use the `createMessageAdapter()` function, which is an
export from `@slack/interactive-messages`. It creates an object that routes actions to the handlers you define. It also
Expand Down
10 changes: 5 additions & 5 deletions docs/_packages/events_api.md
Expand Up @@ -19,11 +19,11 @@ Before building an app, you'll need to [create a Slack app](https://api.slack.co
development workspace. You'll also **need a public URL** where the app can begin receiving events. Finally, you'll need
to find the **request signing secret** given to you by Slack under the "Basic Information" of your app configuration.

It may be helpful to read the tutorial on [developing Slack apps locally](https://slack.dev/node-slack-sdk/local_development). After you
have a URL for development, see the section on [verifying a request URL for development](#verify-tool) so you can save
it as the Request URL in your app configuration. Now you can begin adding event subscriptions, just be sure to install
the app in your development workspace again each time you add new scopes (typically whenever you add new event
subscriptions).
It may be helpful to read the tutorial on [developing Slack apps
locally](https://slack.dev/node-slack-sdk/tutorials/local-development). After you have a URL for development, see the
section on [verifying a request URL for development](#verify-tool) so you can save it as the Request URL in your app
configuration. Now you can begin adding event subscriptions, just be sure to install the app in your development
workspace again each time you add new scopes (typically whenever you add new event subscriptions).

---

Expand Down
3 changes: 2 additions & 1 deletion docs/_packages/interactive_messages.md
Expand Up @@ -19,7 +19,8 @@ Before building an app, you'll need to [create a Slack app](https://api.slack.co
development workspace. You'll also **need a public URL** where the app can begin receiving actions. Finally, you'll need
to find the **request signing secret** given to you by Slack under the "Basic Information" of your app configuration.

It may be helpful to read the tutorial on [developing Slack apps locally](https://slack.dev/node-slack-sdk/local_development).
It may be helpful to read the tutorial on [developing Slack apps
locally](https://slack.dev/node-slack-sdk/tutorials/local-development).

---

Expand Down
8 changes: 4 additions & 4 deletions packages/events-api/README.md
Expand Up @@ -30,10 +30,10 @@ development workspace. You'll also **need a public URL** where the app can begin
to find the **request signing secret** given to you by Slack under the "Basic Information" of your app configuration.

It may be helpful to read the tutorials on [getting started](https://slack.dev/node-slack-sdk/getting-started) and
[getting a public URL that can be used for development](https://slack.dev/node-slack-sdk/local_development). After you
have a URL for development, see the section on [verifying a request URL for development](#verify-tool) so you can save
it as the Request URL in your app configuration. Now you can begin adding event subscriptions, just be sure to install
the app in your development workspace again each time you add new scopes (typically whenever you add new event
[getting a public URL that can be used for development](https://slack.dev/node-slack-sdk/tutorials/local-development).
After you have a URL for development, see the section on [verifying a request URL for development](#verify-tool) so you
can save it as the Request URL in your app configuration. Now you can begin adding event subscriptions, just be sure to
install the app in your development workspace again each time you add new scopes (typically whenever you add new event
subscriptions).

---
Expand Down
2 changes: 1 addition & 1 deletion packages/interactive-messages/README.md
Expand Up @@ -29,7 +29,7 @@ development workspace. You'll also **need a public URL** where the app can begin
to find the **request signing secret** given to you by Slack under the "Basic Information" of your app configuration.

It may be helpful to read the tutorials on [getting started](https://slack.dev/node-slack-sdk/getting-started) and
[getting a public URL that can be used for development](https://slack.dev/node-slack-sdk/local_development).
[getting a public URL that can be used for development](https://slack.dev/node-slack-sdk/tutorials/local-development).

---

Expand Down

0 comments on commit ce7daeb

Please sign in to comment.