probot / example-nitro

Use Probot with Nitro to deploy it anywhere

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Probot example for Nitro

Look at the Nitro documentation to learn more.

Setup

Make sure to install the dependencies:

# npm
npm install

# yarn
yarn install

# pnpm
pnpm install

Required Environment Variables

Similar to Probot's default behavior, you need to set the following environment variables:

  • APP_ID - The ID of the GitHub App
  • WEBHOOK_SECRET - The secret used to secure the webhook
  • PRIVATE_KEY - The private key of the GitHub App

Development Server

Start the development server on http://localhost:3000

npm run dev

Production

Build the application for production:

npm run build

Locally preview production build:

npm run preview

Check out the deployment documentation for more information.

About

Use Probot with Nitro to deploy it anywhere


Languages

Language:CSS 99.8%Language:TypeScript 0.2%