diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f4a8ad5f0..a5ca12fc1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -17,6 +17,7 @@ branch are tagged into a release periodically. - [Node.js](https://nodejs.org/en) version 20.11.1 - [pnpm package manager](https://pnpm.io/installation) version 8.15.5 - [Docker](https://www.docker.com/get-started/) +- [protobuf](https://github.com/protocolbuffers/protobuf) ### Setup @@ -102,13 +103,17 @@ First, make sure you are running the webapp according to the instructions above. 4. Build the CLI ```sh +# Build the CLI pnpm run build --filter trigger.dev +# Make it accessible to `pnpm exec` +pnpm i ``` 5. Change into the `/references/v3-catalog` directory and authorize the CLI to the local server: ```sh cd references/v3-catalog +cp .env.example .env pnpm exec triggerdev login -a http://localhost:3030 ``` diff --git a/references/v3-catalog/.env.example b/references/v3-catalog/.env.example index b6ec995cb..9001181b6 100644 --- a/references/v3-catalog/.env.example +++ b/references/v3-catalog/.env.example @@ -1,2 +1,3 @@ TRIGGER_SECRET_KEY= -TRIGGER_API_URL= \ No newline at end of file +TRIGGER_API_URL= +OPENAI_API_KEY="My API Key" \ No newline at end of file