Generate letter previews in the new notifications-template-preview service

by calling through to this, we no longer require admin app to ship
with binary dependencies (imagemagick/cairo/etc)
This commit is contained in:
Leo Hemsted
2017-04-10 15:10:34 +01:00
parent 27d2e3a738
commit 64d162d96e
3 changed files with 41 additions and 10 deletions

View File

@@ -20,6 +20,8 @@ class Config(object):
# if we're not on cloudfoundry, we can get to this app from localhost. but on cloudfoundry its different
ADMIN_BASE_URL = os.environ.get('ADMIN_BASE_URL', 'http://localhost:6012')
TEMPLATE_PREVIEW_SERVICE_URL = os.environ.get('TEMPLATE_PREVIEW_SERVICE_URL', 'http://localhost:6013')
# Hosted graphite statsd prefix
STATSD_PREFIX = os.getenv('STATSD_PREFIX')