Download and install the git-at-me module and run the wizard function.
npm install git-at-me
echo "require('git-at-me').wizard();" >> git-wizard.js
node git-wizard.js
- Generate a token by selecting the Token option
- Enter your GitHub username
- Enter your GitHub password (this is not stored anywhere)
- If you have two-factor authentication enabled, enter the code sent to you
- Save the token as github-token.js in case you need it again
- Copy the generated token from the console when it is displayed
- Create the webhook with the token by selecting the Hook option
- Paste in the copied token from before when prompted for GitHub Token
- Enter the Github Repo to add the Hook to (e.g. jgable/git-at-me)
- Select the events you'd like to subscribe to (at least one)
- Enter the URL that GitHub should POST to when events happen
That should be it.