old_contents: # -*- coding: utf-8 -*-
  '''Example settings/local.py file.
  These settings override what's in website/settings/defaults.py
  
  NOTE: local.py will not be added to source control.
  '''
  
  from . import defaults
  
  DEV_MODE = True
  DEBUG_MODE = True  # Sets app to debug mode, turns off template caching, etc.
  SECURE_MODE = not DEBUG_MODE  # Disable osf cookie secure
  
  PROTOCOL = 'https://' if SECURE_MODE else 'http://'
  DOMAIN = PROTOCOL + 'localhost:5000/'
  API_DOMAIN = PROTOCOL + 'localhost:8000/'
  
  USE_EXTERNAL_EMBER = True
  EXTERNAL_EMBER_APPS = {
      'preprints': {
          'url': '/preprints/',
          'server': 'http://localhost:4200',
          'path': '../ember-preprints/dist/'
      },
      # 'meetings': {
      #     'url': '/meetings/',
      #     'server': 'http://localhost:4201',
      #     'path': '../osf-meetings/dist/'
      # },
      # 'registries': {
      #     'url': '/registries/',
      #     'server': 'http://localhost:4200',
      #     'path': '../ember-osf2/ember-osf-registries/dist/'
      # }
  }
  
  SEARCH_ENGINE = 'elastic'
  ELASTIC_TIMEOUT = 10
  
  # Comment out to use celery in development
  USE_CELERY = False
  
  # Email
  USE_EMAIL = False
  MAIL_SERVER = 'localhost:1025'  # For local testing
  MAIL_USERNAME = 'osf-smtp'
  MAIL_PASSWORD = 'CHANGEME'
  
  # Mailchimp email subscriptions
  ENABLE_EMAIL_SUBSCRIPTIONS = False
  
  # Session
  COOKIE_NAME = 'osf'
  OSF_COOKIE_DOMAIN = None
  SECRET_KEY = 'CHANGEME'
  SESSION_COOKIE_SECURE = SECURE_MODE
  OSF_SERVER_KEY = None
  OSF_SERVER_CERT = None
  
  ##### Celery #####
  ## Default RabbitMQ broker
  BROKER_URL = 'amqp://'
  
  # Default RabbitMQ backend
  CELERY_RESULT_BACKEND = 'amqp://'
  
  USE_CDN_FOR_CLIENT_LIBS = False
  
  # Example of extending default settings
  # defaults.IMG_FMTS += ["pdf"]
  
new_contents: # -*- coding: utf-8 -*-
  '''Example settings/local.py file.
  These settings override what's in website/settings/defaults.py
  
  NOTE: local.py will not be added to source control.
  '''
  
  from . import defaults
  
  DEV_MODE = True
  DEBUG_MODE = True  # Sets app to debug mode, turns off template caching, etc.
  SECURE_MODE = not DEBUG_MODE  # Disable osf cookie secure
  
  PROTOCOL = 'https://' if SECURE_MODE else 'http://'
  DOMAIN = PROTOCOL + 'localhost:5000/'
  API_DOMAIN = PROTOCOL + 'localhost:8000/'
  
  USE_EXTERNAL_EMBER = True
  EXTERNAL_EMBER_APPS = {
      'preprints': {
          'url': '/preprints/',
          'server': 'http://localhost:4200',
          'path': '../ember-preprints/dist/'
      },
      # 'meetings': {
      #     'url': '/meetings/',
      #     'server': 'http://localhost:4201',
      #     'path': '../osf-meetings/dist/'
      # },
      # 'registries': {
      #     'url': '/registries/',
      #     'server': 'http://localhost:4200',
      #     'path': '../ember-osf-registries/dist/'
      # }
  }
  
  SEARCH_ENGINE = 'elastic'
  ELASTIC_TIMEOUT = 10
  
  # Comment out to use celery in development
  USE_CELERY = False
  
  # Email
  USE_EMAIL = False
  MAIL_SERVER = 'localhost:1025'  # For local testing
  MAIL_USERNAME = 'osf-smtp'
  MAIL_PASSWORD = 'CHANGEME'
  
  # Mailchimp email subscriptions
  ENABLE_EMAIL_SUBSCRIPTIONS = False
  
  # Session
  COOKIE_NAME = 'osf'
  OSF_COOKIE_DOMAIN = None
  SECRET_KEY = 'CHANGEME'
  SESSION_COOKIE_SECURE = SECURE_MODE
  OSF_SERVER_KEY = None
  OSF_SERVER_CERT = None
  
  ##### Celery #####
  ## Default RabbitMQ broker
  BROKER_URL = 'amqp://'
  
  # Default RabbitMQ backend
  CELERY_RESULT_BACKEND = 'amqp://'
  
  USE_CDN_FOR_CLIENT_LIBS = False
  
  # Example of extending default settings
  # defaults.IMG_FMTS += ["pdf"]
  
subject: Adjust path to match the most used default.