PREVIEW_LMS_BASE must now be set (default value does not work for both edge and edx). Make this work locally as well.

https://edx.lighthouseapp.com/projects/102637/tickets/331
This commit is contained in:
cahrens
2013-05-23 16:45:10 -04:00
parent 522b76e847
commit a03a4fdd07
4 changed files with 4 additions and 0 deletions

View File

@@ -81,6 +81,7 @@ with open(ENV_ROOT / CONFIG_PREFIX + "env.json") as env_file:
ENV_TOKENS = json.load(env_file)
LMS_BASE = ENV_TOKENS.get('LMS_BASE')
MITX_FEATURES['PREVIEW_LMS_BASE'] = ENV_TOKENS.get('PREVIEW_LMS_BASE')
SITE_NAME = ENV_TOKENS['SITE_NAME']

View File

@@ -41,6 +41,7 @@ MITX_FEATURES = {
# Enable URL that shows information about the status of variuous services
'ENABLE_SERVICE_STATUS': False,
'PREVIEW_LMS_BASE' : None
}
ENABLE_JASMINE = False

View File

@@ -55,6 +55,7 @@ DATABASES = {
}
LMS_BASE = "localhost:8000"
MITX_FEATURES['PREVIEW_LMS_BASE'] = "localhost:8000"
REPOS = {
'edx4edx': {

View File

@@ -82,6 +82,7 @@ DATABASES = {
}
LMS_BASE = "localhost:8000"
MITX_FEATURES['PREVIEW_LMS_BASE'] = "localhost:8000"
CACHES = {
# This is the cache used for most things. Askbot will not work without a