Look at the Nitro documentation to learn more.
Make sure to install the dependencies:
# npm npm install # yarn yarn install # pnpm pnpm install
Similar to Probot's default behavior, you need to set the following environment variables:
APP_ID- The ID of the GitHub AppWEBHOOK_SECRET- The secret used to secure the webhookPRIVATE_KEY- The private key of the GitHub App
Start the development server on http://localhost:3000
npm run dev
Build the application for production:
npm run build
Locally preview production build:
npm run preview
Check out the deployment documentation for more information.