Configuring Group Server
From E-Democracy.org
The gs.config package, along with the file etc/gsconfig.ini or parts/instance/etc/gsconfig.ini, provide the mechanism for configuring the GroupServer parts of GroupServer (as opposed to Zope parts.)
Significant documentation on the syntax of gsconfig.ini can be found locally in the egg documentation of gs.config or online.
There are four components that can be configured: database; smtp; cache; and webservice (documentation refers to ‘tokenauth’, this seems to have been replaced by ‘webservice’). Each component can have one or more specific configuration sections, loosely based on the instance or environment for which they are intended. I.e., there can be database-live; smtp-test; smtp-live; cache-dev; etc...
[config-<my_instance>] sections list which component configurations will be used for the instance represented by <my_instance>.
More specific documentation on configuration is available for some components:
- database - Configuration is primarily via a dsn string
- smtp - See the Configuration section of gs.email/EGG-INFO/PKG-INFO
- cache - I haven't yet found a reference for cache configuration, but for development I haven't needed to worry about it
- webservice - See the Configuration File section of gs.group.messages.add.smtp2gs/EGG-INFO/PKG-INFO
Home - Mobile - Forums - Wiki - Blog - About - Help - Contact - People - Donate - Rules - Archives