add back hydroshare yaml config
import redis
import os
+import yaml
from kombu import Queue, Exchange
-from kombu.common import Broadcast
DEBUG = True
@@ -198,5 +198,10 @@ RECAPTCHA_SITE_KEY="6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI"
RECAPTCHA_SECRET_KEY="6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe"
RECAPTCHA_VERIFY_URL='https://www.google.com/recaptcha/api/siteverify'
+with open(os.path.dirname(os.path.abspath(__file__)) + "/../config/hydroshare-config.yaml", 'r') as stream:
+ try:
+ EXTERNAL_CONFIG = yaml.load(stream)
+ except yaml.YAMLError as exc:
+ print(exc)
# insert a google maps key here when in production
-MAPS_KEY=''
+MAPS_KEY='AIzaSyBv1tggGSW3-12h6vkbo8BL711KaUnG1w0'
