26 lines
1 KiB
Python
26 lines
1 KiB
Python
config = {
|
|
# We need to tell the fedmsg-hub that it should load our consumer on start.
|
|
"fedmsg.consumers.badges.enabled": True,
|
|
|
|
# This tells the consumer where to look for its BadgeRule definitions. It
|
|
# may be a relative or an absolute path on the file system.
|
|
"badges.yaml.directory": "/usr/share/badges/rules",
|
|
|
|
# This is a dictionary of tahrir-related configuration
|
|
"badges_global": {
|
|
|
|
# This is a sqlalchemy URI that points to the tahrir DB.
|
|
"database_uri": "postgresql://${tahrirDBUser}:${tahrirDBPassword}@db-tahrir/tahrir",
|
|
|
|
# This is a set of data that tells our consumer what Open Badges Issuer
|
|
# should be kept as the issuer of all the badges we create.
|
|
"badge_issuer": dict(
|
|
issuer_id='Fedora Project',
|
|
issuer_origin='http://apps.fedoraproject.com/badges/',
|
|
issuer_name='Fedora Project',
|
|
issuer_org='http://fedoraproject.org',
|
|
issuer_contact='badges@fedoraproject.org',
|
|
),
|
|
},
|
|
}
|
|
|