fix: update post-install webapp command suggestion
since we now have an abstraction that works with various setups
This commit is contained in:
parent
a68df98297
commit
c6a0ecd475
|
@ -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()
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue