changeset 7449:7651f0cbca82

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.
author Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
date Mon, 17 Dec 2018 22:33:29 +0100
parents f5841b61a582
children 1c4007ec86e8
files kallithea/bin/kallithea_cli_config.py kallithea/bin/kallithea_cli_db.py
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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())
--- 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'.")