Clarify configuration of site's domain
Almost every setting of grouprise is currently based on the content of configuration files (yaml).
The only exception is the site
(or "domain"), which is accessed via Site.objects.get_current().domain
. This value is stored in the database.
This setting is used indirectly for the default setting of mail addresses and a few other details (see grouprise.core.settings
).
The setting is currently defined in one of two ways:
-
-
grouprisectl setup_site
- for manual configuration of relevant site parameters and for populating basic content for a new site
-
-
- via
debconf
during the initial installation of the grouprise package
- via
The user needs to know, that the grouprise service needs to be restarted, if the site/domain is changed via method (1). This happens automatically for (2).
What should we do?
- A) inform users about the required service restart after running
grouprisectl setup_site
- B) require a
domain
setting via theyaml
configuration (which is written to the database, in case it differs) - C) ???