项目作者: hjfitz

项目描述 :
A custom verison of @probot/probot fit for Azure Serverless Functions
高级语言: TypeScript
项目地址: git://github.com/hjfitz/probot-azure-serverless.git
创建时间: 2020-10-28T11:27:18Z
项目社区:https://github.com/hjfitz/probot-azure-serverless

开源协议:

下载


Probot for Azure Functions

Setup For Local Dev

  • Install dependencies:
  1. ~ $ yarn
  • Set up .env. Copy .env.example to .env. There are instructions in .env.example on getting most of the keys
  • Go to smee.io, get your URL and start your session
  1. ~ $ smee -u $YOUR_URL
  • Start development
  1. ~ $ yarn dev

Creating Handlers

In probot-handler/create-handlers.ts, an instance of the custom Probot is created. Here, you can add your event handlers, as you would in probot.