Skip to content

megamanics/probot-app-codespace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pre-req

Make sure you've got Node.js installed on your workstation, than open your terminal and type the following command:

node -v  || brew install node && node -v                                                           

Install npm

brew install npm

video

OR USE a CodeSpace

New Codespace

codespaceCreate

Create a new App using template

  • if you're using npm (the package manager bundled with Node.js):

    npx create-probot-app my-probot-app

and follow the instructions printed on the terminal as you go. create-probot-app will then take care of the heavy lifting required to setup a Probot app development environment, with proper folder structure, and even installing all the basic Probot dependencies.

npxcreate

Configure

Run npm start to start the server:

npmstart

Open the url shown in above step in your browser and follow instructions to register your app.

register-pro-bot-app

This step will create .env with the following

WEBHOOK_PROXY_URL
APP_ID
PRIVATE_KEY
WEBHOOK_SECRET
GITHUB_CLIENT_ID
GITHUB_CLIENT_SECRET

Reference

Probot docs

About

probot development in codespace

Resources

License

Stars

Watchers

Forks