Commit a858230a by John Jarvis

reference sandbox configuration

Configured to use localhost for mongo, mysql, memcache
parent fe35ac5d
###############################################
# Sandbox configuration
#
# There should be nothing in this configuration
# that would be a problem if made public !!
#
# Configuration overview:
# - mysql installed on localhost
# - mongo installed on localhost
# - memcache installed on localhost
# - SES used for email (ses only perms)
#
# You must fill in credentials for sending
# mail using AWS
#Use YAML references (& and *) and hash merge <<: to factor out shared settings
#see http://atechie.net/2009/07/merging-hashes-in-yaml-conf-files/
generic_auth_config: &generic_auth
'CONTENTSTORE':
'ENGINE': 'xmodule.contentstore.mongo.MongoContentStore'
'ANALYTICS_API_KEY': ''
'ZENDESK_USER': ''
'ZENDESK_API_KEY': ''
'CELERY_BROKER_USER': 'celery'
'CELERY_BROKER_PASSWORD': ''
# "ses-send" user on the main aws account, only
# has access to use ses
'AWS_ACCESS_KEY_ID': ''
'AWS_SECRET_ACCESS_KEY': ''
'CONTENTSTORE':
'OPTIONS':
'db': 'wwc'
'host': [ 'localhost' ]
'password': 'password'
'port': 27017
'user': 'mongo'
'DATABASES':
'default': { 'ENGINE': 'django.db.backends.mysql', 'NAME': 'wwc', 'USER': 'root', 'PASSWORD': '', 'HOST': 'localhost', 'PORT': '3306' }
'MODULESTORE':
'default':
'ENGINE': 'xmodule.modulestore.mongo.MongoModuleStore'
'OPTIONS': &lms_modulestore_default_options
'collection': 'modulestore'
'db': 'wwc'
'default_class': 'xmodule.hidden_module.HiddenDescriptor'
'fs_root': '/opt/wwc/data'
'host': ['localhost']
'password': 'password'
'port': 27017
'render_template': 'mitxmako.shortcuts.render_to_string'
'user': 'mongo'
# Needed for the CMS to be able to run update_templates
'direct':
'ENGINE': 'xmodule.modulestore.mongo.MongoModuleStore'
'OPTIONS': *lms_modulestore_default_options
'OPEN_ENDED_GRADING_INTERFACE': {
'url': '',
'password': '',
'peer_grading': 'peer_grading',
'staff_grading': 'staff_grading',
'grading_controller': 'grading_controller',
'username': 'lms'}
'PEARSON_TEST_PASSWORD': ''
'SECRET_KEY': 'secret'
'XQUEUE_INTERFACE':
'basic_auth': [ 'noauth', 'noauth']
'django_auth': { 'password': 'lms',
'username': 'lms'}
'url': ''
generic_env_config: &generic_env
'BOOK_URL': 'https://mitxstatic.s3.amazonaws.com/book_images/'
'CERT_QUEUE': 'certificates'
'LOCAL_LOGLEVEL': 'INFO'
'MITX_FEATURES':
'AUTH_USE_OPENID_PROVIDER': true
'CERTIFICATES_ENABLED': true
'ENABLE_DISCUSSION_SERVICE': false
'ENABLE_INSTRUCTOR_ANALYTICS': false
'ENABLE_PEARSON_HACK_TEST': false
'SUBDOMAIN_BRANDING': false
'SUBDOMAIN_COURSE_LISTINGS': false
'WIKI_ENABLED': true
'SYSLOG_SERVER': 'syslog.a.m.i4x.org'
'SITE_NAME': 'example.com'
'LOG_DIR': '/mnt/logs/edx'
'MEDIA_URL': ''
'ANALYTICS_SERVER_URL': ''
'EEDBACK_SUBMISSION_EMAIL': 'bugs@edx.org'
'TIME_ZONE': 'America/New_York'
'CACHES': &lms_caches
'default':
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache'
'KEY_FUNCTION': 'util.memcache.safe_key'
'KEY_PREFIX': 'sandbox'
'LOCATION': [ 'localhost:11211' ]
'general':
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache'
'KEY_FUNCTION': 'util.memcache.safe_key'
'KEY_PREFIX': 'sandbox'
'LOCATION': [ 'localhost:11211' ]
'mongo_metadata_inheritance':
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache'
'KEY_FUNCTION': 'util.memcache.safe_key'
'KEY_PREFIX': 'sandbox'
'LOCATION': [ 'localhost:11211' ]
'staticfiles':
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache'
'KEY_FUNCTION': 'util.memcache.safe_key'
'KEY_PREFIX': 'sandbox'
'LOCATION': [ 'localhost:11211' ]
'celery':
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache'
'KEY_FUNCTION': 'util.memcache.safe_key'
'KEY_PREFIX': 'sandbox'
'LOCATION': [ 'localhost:11211' ]
'CELERY_BROKER_TRANSPORT': 'amqp'
'CELERY_BROKER_HOSTNAME': ''
'COMMENTS_SERVICE_URL': ''
'LOGGING_ENV': 'sandbox'
'SESSION_COOKIE_DOMAIN': 'amazonaws.com'
'COMMENTS_SERVICE_KEY': ''
lms_auth_config:
<<: *generic_auth
lms_env_config:
<<: *generic_env
lms_xml_auth_config:
<<: *generic_auth
lms_xml_env_config:
<<: *generic_env
cms_auth_config:
<<: *generic_auth
cms_env_config:
<<: *generic_env
lms_preview_auth_config:
<<: *generic_auth
lms_preview_env_config:
<<: *generic_env
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment