# HG changeset patch # User Thomas De Schampheleire <thomas.de_schamphele...@nokia.com> # Date 1545082409 -3600 # Mon Dec 17 22:33:29 2018 +0100 # 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 --git a/kallithea/bin/kallithea_cli_config.py b/kallithea/bin/kallithea_cli_config.py --- a/kallithea/bin/kallithea_cli_config.py +++ b/kallithea/bin/kallithea_cli_config.py @@ -86,6 +86,7 @@ def config_create(config_file, key_value 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 --git a/kallithea/bin/kallithea_cli_db.py b/kallithea/bin/kallithea_cli_db.py --- a/kallithea/bin/kallithea_cli_db.py +++ b/kallithea/bin/kallithea_cli_db.py @@ -76,3 +76,4 @@ def db_create(user, password, email, rep 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'.") _______________________________________________ kallithea-general mailing list kallithea-general@sfconservancy.org https://lists.sfconservancy.org/mailman/listinfo/kallithea-general