dev_mongo.py 486 Bytes
Newer Older
1 2 3 4 5
"""
This config file runs the dev environment, but with mongo as the datastore
"""
from .dev import *

6 7
GITHUB_REPO_ROOT = ENV_ROOT / "data"

8 9 10 11 12 13 14 15
MODULESTORE = {
    'default': {
        'ENGINE': 'xmodule.modulestore.mongo.MongoModuleStore',
        'OPTIONS': {
            'default_class': 'xmodule.raw_module.RawDescriptor',
            'host': 'localhost',
            'db': 'xmodule',
            'collection': 'modulestore',
16
            'fs_root': GITHUB_REPO_ROOT,
17 18 19
        }
    }
}