Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
e0bb4ad4
Commit
e0bb4ad4
authored
May 28, 2013
by
cahrens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Preview url is read in from environment file.
parent
138ad398
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
cms/envs/aws.py
+1
-1
cms/envs/common.py
+2
-3
No files found.
cms/envs/aws.py
View file @
e0bb4ad4
...
@@ -81,7 +81,7 @@ with open(ENV_ROOT / CONFIG_PREFIX + "env.json") as env_file:
...
@@ -81,7 +81,7 @@ with open(ENV_ROOT / CONFIG_PREFIX + "env.json") as env_file:
ENV_TOKENS
=
json
.
load
(
env_file
)
ENV_TOKENS
=
json
.
load
(
env_file
)
LMS_BASE
=
ENV_TOKENS
.
get
(
'LMS_BASE'
)
LMS_BASE
=
ENV_TOKENS
.
get
(
'LMS_BASE'
)
MITX_FEATURES
[
'PREVIEW_LMS_BASE'
]
=
ENV_TOKENS
.
get
(
'PREVIEW_LMS_BASE'
)
# Note that MITX_FEATURES['PREVIEW_LMS_BASE'] gets read in from the environment file.
SITE_NAME
=
ENV_TOKENS
[
'SITE_NAME'
]
SITE_NAME
=
ENV_TOKENS
[
'SITE_NAME'
]
...
...
cms/envs/common.py
View file @
e0bb4ad4
...
@@ -39,9 +39,8 @@ MITX_FEATURES = {
...
@@ -39,9 +39,8 @@ MITX_FEATURES = {
'STUDIO_NPS_SURVEY'
:
True
,
'STUDIO_NPS_SURVEY'
:
True
,
'SEGMENT_IO'
:
True
,
'SEGMENT_IO'
:
True
,
# Enable URL that shows information about the status of variuous services
# Enable URL that shows information about the status of various services
'ENABLE_SERVICE_STATUS'
:
False
,
'ENABLE_SERVICE_STATUS'
:
False
'PREVIEW_LMS_BASE'
:
None
}
}
ENABLE_JASMINE
=
False
ENABLE_JASMINE
=
False
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment