Commit 79595fc2 by e0d

Merge pull request #330 from edx/e0d/docstore

MERGE_WITH_CAUTION: E0d/docstore
parents 42d3f24d 24b87d7f
......@@ -101,12 +101,22 @@ edxapp_generic_auth_config: &edxapp_generic_auth
url: $EDXAPP_XQUEUE_URL
CONTENTSTORE:
ENGINE: 'xmodule.contentstore.mongo.MongoContentStore'
#
# connection strings are duplicated temporarily for
# backward compatibility
#
OPTIONS:
db: $EDXAPP_MONGO_DB_NAME
host: $EDXAPP_MONGO_HOSTS
password: $EDXAPP_MONGO_PASSWORD
port: $EDXAPP_MONGO_PORT
user: $EDXAPP_MONGO_USER
DOC_STORE_CONFIG:
db: $EDXAPP_MONGO_DB_NAME
host: $EDXAPP_MONGO_HOSTS
password: $EDXAPP_MONGO_PASSWORD
port: $EDXAPP_MONGO_PORT
user: $EDXAPP_MONGO_USER
MODULESTORE:
default: &edxapp_generic_default_modulestore
ENGINE: 'xmodule.modulestore.mongo.DraftMongoModuleStore'
......@@ -119,11 +129,19 @@ edxapp_generic_auth_config: &edxapp_generic_auth
password: $EDXAPP_MONGO_PASSWORD
port: $EDXAPP_MONGO_PORT
render_template: 'mitxmako.shortcuts.render_to_string'
# Needed for the CMS to be able to run update_templates
user: $EDXAPP_MONGO_USER
# Needed for the CMS to be able to run update_templates
DOC_STORE_CONFIG: &edxapp_generic_default_docstore
db: $EDXAPP_MONGO_DB_NAME
host: $EDXAPP_MONGO_HOSTS
password: $EDXAPP_MONGO_PASSWORD
port: $EDXAPP_MONGO_PORT
user: $EDXAPP_MONGO_USER
collection: 'modulestore'
direct: &edxapp_generic_direct_modulestore
ENGINE: 'xmodule.modulestore.mongo.MongoModuleStore'
OPTIONS: *generic_modulestore_default_options
DOC_STORE_CONFIG: *edxapp_generic_default_docstore
DATABASES:
default:
ENGINE: 'django.db.backends.mysql'
......@@ -218,6 +236,7 @@ lms_auth_config:
port: $EDXAPP_MONGO_PORT
fs_root: '/opt/wwc/data'
ENGINE: 'xmodule.modulestore.mongo.MongoModuleStore'
DOC_STORE_CONFIG: *edxapp_generic_default_docstore
lms_env_config:
<<: *edxapp_generic_env
......@@ -304,7 +323,7 @@ lms_debian_pkgs:
# for scipy, do not install
# libopenblas-base, it will cause
# problems for numpy
- gfortran
- gfortran
- libatlas3gf-base
- liblapack-dev
- g++
......
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