Mercurial > p > roundup > code
diff roundup/demo.py @ 7446:fb39200904a5
Add newlines to make scanning of demo instructions easier.
Add blank line before the output and add blank lines before/after the
displayed url.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Thu, 01 Jun 2023 00:39:25 -0400 |
| parents | 7b9bddda9d2d |
| children | 78490b5b1bfe |
line wrap: on
line diff
--- a/roundup/demo.py Wed May 31 23:11:17 2023 -0400 +++ b/roundup/demo.py Thu Jun 01 00:39:25 2023 -0400 @@ -143,7 +143,7 @@ external mapping requested by docker to be used in external url's. """ - print("Demo Tracker Home:", home) + print("\nDemo Tracker Home:", home) cfg = configuration.CoreConfig(home) url = cfg["TRACKER_WEB"] @@ -161,8 +161,8 @@ bind_addr = bind_addr or hostname port = int(bind_port or port) - success_message = '''Server running - connect to: - %(url)s + success_message = '''Server running - connect to:\n + %(url)s\n 1. Log in as "demo"/"demo" or "admin"/"admin". 2. Hit Control-C to stop the server. 3. Re-start the server by running "%(script)s" again.
