Conveying messages with the force of the Power Cosmic.
Norrin provides services used by Congress for iOS.
appconfig is used to publish remote configuration that is loaded by the iOS application using GroundControl. A default configuration is loaded on app launch, allowing an opportunity to override or update settings. A URL scheme can be used to have the iOS app read and update configuration from an arbitrary appconfig configuration.
notifications is used to create, queue, and send push notifications. Data is loaded from the Sunlight Congress API and notifications are created based on the categories defined in Congress for iOS. Once queued, a configurable set of adapters handle the notifications. These adapaters can write the notifications to a log file, send via email, or send using Urban Airship.
Notifications that are pending or failed can be reprocessed by the adapter pipeline.
All of the following settings should be set using environment variables.
Variable | Default Value |
---|---|
UA_KEY | None |
UA_SECRET | None |
UA_MASTER | None |
Variable | Default Value |
---|---|
MONGODB_HOST | localhost |
MONGODB_PORT | 27017 |
MONGODB_DATABASE | norrin |
MONGODB_USERNAME | None |
MONTODB_PASSWORD | None |
Variable | Default Value |
---|---|
SENTRY_DSN | None |
Variable | Default Value |
---|---|
CELERY_BROKER | None |
Variable | Default Value |
---|---|
SUNLIGHT_API_KEY | None |
Variable | Default Value |
---|---|
DATABASE_URL | None |
SECRET_KEY | None |