diff --git a/doc/configuration.rst b/doc/configuration.rst index 0fdffef..f3e0e3b 100644 --- a/doc/configuration.rst +++ b/doc/configuration.rst @@ -530,3 +530,15 @@ the only CI service supported at the moment). Defaults to: ``None``. .. warning:: Requires `Redis` to be configured and running. + + +INSTANCE_NAME +~~~~~~~~~~~~~ + +This allows giving a name to this running instance of pagure. The name is +then used in the welcome screen showns upon first login. + +Defaults to: ``Pagure`` + +.. note: the welcome screen currently does not work with the `local` + authentication. diff --git a/pagure/default_config.py b/pagure/default_config.py index 932d4d5..6b03967 100644 --- a/pagure/default_config.py +++ b/pagure/default_config.py @@ -21,6 +21,10 @@ SECRET_KEY = '' # url to the database server: DB_URL = 'sqlite:////var/tmp/pagure_dev.sqlite' +# Name the instance, used in the welcome screen upon first login (not +# working with `local` auth) +INSTANCE_NAME = 'Pagure' + # url to datagrepper (optional): #DATAGREPPER_URL = 'https://apps.fedoraproject.org/datagrepper' #DATAGREPPER_CATEGORY = 'pagure' diff --git a/pagure/templates/master.html b/pagure/templates/master.html index e227a20..d20f9be 100644 --- a/pagure/templates/master.html +++ b/pagure/templates/master.html @@ -116,20 +116,23 @@