# HG changeset patch # User Ludovic Chabant # Date 1519629527 28800 # Node ID e8511fed42a39335608fd07401df18fab5f528aa # Parent 40228511d6005b15654a82d4bc8b7e12bf9a84cb serve: Indicate where to find the admin panel in the console output. diff -r 40228511d600 -r e8511fed42a3 piecrust/serving/wrappers.py --- a/piecrust/serving/wrappers.py Sun Feb 25 21:48:55 2018 -0800 +++ b/piecrust/serving/wrappers.py Sun Feb 25 23:18:47 2018 -0800 @@ -100,6 +100,11 @@ # Disable debugger PIN protection. os.environ['WERKZEUG_DEBUG_PIN'] = 'off' + if is_cmdline_mode: + admin_url = 'http://%s:%s%s' % (host, port, '/pc-admin') + logger.info("The administrative panel is available at: %s" % + admin_url) + try: run_simple(host, port, app, threaded=True,