mirror of
https://github.com/GSA/notifications-api.git
synced 2026-05-02 07:10:14 -04:00
Update config
Source the configuration from an environment file, this way it is similar to how the aws environment works
This commit is contained in:
16
README.md
16
README.md
@@ -9,3 +9,19 @@ Read and write notifications/status queue.
|
||||
Get and update notification status.
|
||||
|
||||
mkvirtualenv -p /usr/local/bin/python3 notifications-api
|
||||
|
||||
|
||||
```
|
||||
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'
|
||||
```
|
||||
Reference in New Issue
Block a user