Unclear prompt + bool based help text replaced during Quickstart (#4294)
Co-authored-by: Shuchang Zheng <wintonzheng0325@gmail.com>
This commit is contained in:
@@ -32,12 +32,13 @@ def init_env(
|
|||||||
)
|
)
|
||||||
console.print("[italic]This wizard will help you set up Skyvern.[/italic]")
|
console.print("[italic]This wizard will help you set up Skyvern.[/italic]")
|
||||||
|
|
||||||
run_local = Confirm.ask(
|
infra_choice = Prompt.ask(
|
||||||
"Would you like to run Skyvern [bold blue]locally[/bold blue] or in the [bold purple]cloud[/bold purple]?",
|
"Would you like to run Skyvern [bold blue]local[/bold blue]ly or in the [bold purple]cloud[/bold purple]?",
|
||||||
default=False,
|
|
||||||
choices=["local", "cloud"],
|
choices=["local", "cloud"],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
run_local = infra_choice == "local"
|
||||||
|
|
||||||
if run_local:
|
if run_local:
|
||||||
setup_postgresql(no_postgres)
|
setup_postgresql(no_postgres)
|
||||||
console.print("📊 [bold blue]Running database migrations...[/bold blue]")
|
console.print("📊 [bold blue]Running database migrations...[/bold blue]")
|
||||||
|
|||||||
Reference in New Issue
Block a user