Redocly Scout is a discovery and publishing tool for APIs and documentation. It is designed to be deployed in a customer's infrastructure and to be used with Blue Harvest and Redocly Registry.
NOTE: before you run npm run build:docker command, make the build script executable with the chmod +x ./scripts/build.sh command (on Linux-type systems).
GITHUB_APP_USER_ID - GitHub application user that leaves Scout-related comments. https://{github-server-url}/users/{app slug name}[bot]
GITHUB_PRIVATE_KEY - GitHub application private key created during application configuration.
GITHUB_WEBHOOK_SECRET - GitHub webhook secret, created during application configuration.
LOG_FORMAT - one of [pretty, json] (default json).
LOG_LEVEL - one of [trace, debug, info, warn, error, fatal] (default info).
Install dependencies
npm install
Start local dev server
npm run start
or run in debug mode
npm run start:debug
To receive webhooks events locally you need to expose your dev server to the Internet, you could use such tools as ngrok or serveo. The following is an example.