Skip to content

Latest commit

 

History

History
50 lines (35 loc) · 1.66 KB

journey.md

File metadata and controls

50 lines (35 loc) · 1.66 KB

@:t ::t |:t ^:{} _:{} *:t TeX:t LaTeX:t

About

First step

First things first, we need to make sure that we're able to receive messages from GitHub.

  • Start by creating a channel on smee.io
  • Install the smee client:
    • npm install global smee-client
    • there are other way that you can find when you create your channel
  • Start forwarding any webhooks to your channel to your localhost
    • smee -u https://smee.io/OHVrxtvcvfBMZGFD --path /event_handler --port 3000
  • Don't stop the client or close the window, this will be helpful for the rest of this journey

Creating a github app

  • Go on your apps settings page on github and click on create a New Github App

  • Fill the Homepage URL with the url provided by smee:

  • Fill the Webhook URL with the url provided by smee:

  • Create a password to secure your webhook endpoints:

    Figure 4: <span id="fig:github_app_home_url"></span>Webhook secret