2016-01-25 13:20:20 +00:00
|
|
|

|
2016-01-28 11:51:52 +00:00
|
|
|
[](https://requires.io/github/alphagov/notifications-api/requirements/?branch=master)
|
2015-11-18 17:03:35 +00:00
|
|
|
|
2015-11-20 10:51:08 +00:00
|
|
|
# notifications-api
|
2015-11-18 13:58:21 +00:00
|
|
|
Notifications api
|
2015-11-20 10:51:08 +00:00
|
|
|
Application for the notification api.
|
|
|
|
|
|
|
|
|
|
Read and write notifications/status queue.
|
|
|
|
|
Get and update notification status.
|
|
|
|
|
|
2016-01-25 13:20:20 +00:00
|
|
|
mkvirtualenv -p /usr/local/bin/python3 notifications-api
|
2016-02-16 15:25:46 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
export ADMIN_CLIENT_USER_NAME = 'dev-notify-admin'
|
|
|
|
|
export ADMIN_CLIENT_SECRET = 'dev-notify-secret-key'
|
|
|
|
|
export AWS_REGION='eu-west-1'
|
|
|
|
|
export DANGEROUS_SALT = 'dangerous-salt'
|
|
|
|
|
export DELIVERY_CLIENT_USER_NAME='dev-notify-delivery'
|
|
|
|
|
export DELIVERY_CLIENT_SECRET='dev-notify-secret-key'
|
|
|
|
|
|
|
|
|
|
export NOTIFY_JOB_QUEUE='notify-jobs-queue-[-unique-to-environment]'
|
|
|
|
|
export NOTIFICATION_QUEUE_PREFIX='notification_development[-unique-to-environment]'
|
|
|
|
|
|
|
|
|
|
export SECRET_KEY = 'secret-key'
|
|
|
|
|
export SQLALCHEMY_DATABASE_URI = 'postgresql://localhost/notification_api'
|
|
|
|
|
```
|