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