[RFC] ov setup — Interactive guided setup wizard for OpenViking #1334
ZaynJarvis
started this conversation in
RFC
Replies: 1 comment
-
|
origin prompt: I found pain points when using this openviking.
ingest what i want, read for repo for is there possibly already existed features, then use ghcli to submit a discussion to origin for adding ov setup command to do these things to you should read and understand correct rust cli in @crates/ and undertsand if there're new things to add and fix. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Motivation
Getting started with OpenViking today requires reading docs, manually editing config files, and running multiple admin CLI commands in the right order. New users have no way to validate their configuration is correct without trial and error. This RFC proposes an
ov setupinteractive wizard that guides users from zero to a working, verified OpenViking environment.Pain Points (from real usage)
ov setupshould live as an extra utility command (likerustuporgh auth login), not bloat the core CLI.root_api_keyrequires multipleov admincommands and edits on ovcli.conf for API Key changeProposed
ov setupFlowStep 1: Detect or Install OpenViking Server
ov.conf, start the container.Step 2: Root API Key
All subsequent admin operations in the wizard use this key.
Step 3: Account & User Setup
This wraps the existing
ov admin create-accountandov admin register-usercommands.Step 4: Model Configuration (Optional)
Step 5: Compatibility Benchmark (Optional)
Step 6: Smoke Test
Existing CLI Features That
ov setupWould WrapFrom reading the current
ov_clicrate:ov health/ov system healthov config show/ov config validateov admin create-accountov admin register-userov observer modelsov add-resourceov findov rmWhat's New vs. What Exists
ov health)Config::save_default())ov adminsubcommands)ov observer models)dialoguerintegrationImplementation Notes
ov setup(subcommand) orov-setup(separate binary). Given the "utility, not core" principle, a separate binary in the same crate workspace might be cleanest.dialoguercrate for cross-platform terminal prompts.Config::save_default()to accept wizard-collected values.docker composefor local install path.Open Questions
ov setupbe a subcommand or a separate binary (ov-setup)?ov setupsupport non-interactive mode (ov setup --auto) for CI/scripting?Beta Was this translation helpful? Give feedback.
All reactions