Update contributing instructions (#1121)

* Add OPEN_API_KEY env var in example file

* Update prerequisites and first-time setup
This commit is contained in:
Émile Ré
2024-05-22 17:12:40 +02:00
committed by GitHub
parent c092c0f9db
commit c815f28c84
2 changed files with 7 additions and 1 deletions
+5
View File
@@ -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 `<root>/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
```
+2 -1
View File
@@ -1,2 +1,3 @@
TRIGGER_SECRET_KEY=
TRIGGER_API_URL=
TRIGGER_API_URL=
OPENAI_API_KEY="My API Key"