Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update guidance on genkit start command #1220

Merged
merged 2 commits into from
Nov 11, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions docs/migrating-from-0.5.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,30 @@ To install the CLI:
npm i -g genkit-cli
```

Some changes have been made to the `genkit start` command:

```posix-terminal

// Starts your genkit application code + Dev UI together
genkit start -- <language> <command>
genkit start -- tsx src/index.ts
genkit start -- go run main.go

// Watch mode is supported as well
genkit start -- tsx --watch src/index.ts

// Starts your genkit application code ONLY
genkit start --noui -- <command>
genkit start --noui -- tsx src/index.ts

// Starts the Dev UI ONLY
genkit start

```

Previously, the `genkit start` command would start the Dev UI and Flow Server together. If you have any CI/CD pipelines relying on this command, you may need to update the pipeline.


**Old Command:**

```posix-terminal
Expand Down