Add get_courses() to mongo modulestore
* Note: This doesn't run yet * add config file for lms on mongo * Some comment additions and cleanups
This commit is contained in:
committed by
Calen Pennington
parent
51ae0d5484
commit
49e8d08c1e
16
lms/envs/dev_mongo.py
Normal file
16
lms/envs/dev_mongo.py
Normal file
@@ -0,0 +1,16 @@
|
||||
"""
|
||||
This config file runs the dev environment, but with mongo as the datastore
|
||||
"""
|
||||
from .dev import *
|
||||
|
||||
MODULESTORE = {
|
||||
'default': {
|
||||
'ENGINE': 'xmodule.modulestore.mongo.MongoModuleStore',
|
||||
'OPTIONS': {
|
||||
'default_class': 'xmodule.raw_module.RawDescriptor',
|
||||
'host': 'localhost',
|
||||
'db': 'xmodule',
|
||||
'collection': 'modulestore',
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user