# HG changeset patch # User Thomas De Schampheleire # Date 1545082409 -3600 # Node ID 7651f0cbca822e9936d7a6b2f37a2656468df4ad # Parent f5841b61a5821094faf033b13400d58f5d372199 kallithea-cli: remind users to generate the front-end Being in the habit of just generating a config file and possibly a database, users may forget to generate the front-end and get a crippled Kallithea experience at first set-up. Try to avoid this by reminding users explicitly about front-end-build in these two steps of the set-up process. diff -r f5841b61a582 -r 7651f0cbca82 kallithea/bin/kallithea_cli_config.py --- a/kallithea/bin/kallithea_cli_config.py Wed Dec 05 21:37:21 2018 +0100 +++ b/kallithea/bin/kallithea_cli_config.py Mon Dec 17 22:33:29 2018 +0100 @@ -86,6 +86,7 @@ config_file_abs = os.path.abspath(config_file) inifile.create(config_file_abs, mako_variable_values, ini_settings) click.echo('Wrote new config file in %s' % config_file_abs) + click.echo("Don't forget to build the front-end using 'kallithea-cli front-end-build'.") except Exception: click.echo(mako.exceptions.text_error_template().render()) diff -r f5841b61a582 -r 7651f0cbca82 kallithea/bin/kallithea_cli_db.py --- a/kallithea/bin/kallithea_cli_db.py Wed Dec 05 21:37:21 2018 +0100 +++ b/kallithea/bin/kallithea_cli_db.py Mon Dec 17 22:33:29 2018 +0100 @@ -76,3 +76,4 @@ click.echo('Initial repository scan: no repositories found.') click.echo('Database set up successfully.') + click.echo("Don't forget to build the front-end using 'kallithea-cli front-end-build'.")