Commit ba733fa5 by Victor Shnayder Committed by Calen Pennington

add options to dev_mongo env

parent 49e8d08c
...@@ -3,6 +3,8 @@ This config file runs the dev environment, but with mongo as the datastore ...@@ -3,6 +3,8 @@ This config file runs the dev environment, but with mongo as the datastore
""" """
from .dev import * from .dev import *
GITHUB_REPO_ROOT = ENV_ROOT / "data"
MODULESTORE = { MODULESTORE = {
'default': { 'default': {
'ENGINE': 'xmodule.modulestore.mongo.MongoModuleStore', 'ENGINE': 'xmodule.modulestore.mongo.MongoModuleStore',
...@@ -11,6 +13,7 @@ MODULESTORE = { ...@@ -11,6 +13,7 @@ MODULESTORE = {
'host': 'localhost', 'host': 'localhost',
'db': 'xmodule', 'db': 'xmodule',
'collection': 'modulestore', 'collection': 'modulestore',
'fs_root': GITHUB_REPO_ROOT,
} }
} }
} }
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