3
0
Fork 0

fix: update post-install webapp command suggestion

since we now have an abstraction that works with various setups
This commit is contained in:
Lance Edgar 2024-12-30 17:50:55 -06:00
parent a68df98297
commit c6a0ecd475
2 changed files with 2 additions and 2 deletions

View file

@ -461,7 +461,7 @@ class InstallHandler(GenericHandler):
if self.schema_installed:
self.rprint("\n\tyou can run the web app with:")
self.rprint(f"\n\t[blue]cd {sys.prefix}[/blue]")
self.rprint("\t[blue]bin/pserve file+ini:app/web.conf[/blue]")
self.rprint("\t[blue]bin/wutta -c app/web.conf webapp -r[/blue]")
self.rprint()

View file

@ -214,7 +214,7 @@ default.url = {db_url}
handler.schema_installed = True
handler.show_goodbye()
rprint.assert_any_call("\n\t[bold green]initial setup is complete![/bold green]")
rprint.assert_any_call("\t[blue]bin/pserve file+ini:app/web.conf[/blue]")
rprint.assert_any_call("\t[blue]bin/wutta -c app/web.conf webapp -r[/blue]")
def test_require_prompt_toolkit_installed(self):
# nb. this assumes we *do* have prompt_toolkit installed