Look at the Nitro documentation to learn more.
Make sure to install the dependencies:
# npm
npm install
# yarn
yarn install
# pnpm
pnpm installSimilar 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 devBuild the application for production:
npm run buildLocally preview production build:
npm run previewCheck out the deployment documentation for more information.