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
066dcfab
Commit
066dcfab
authored
May 28, 2012
by
ichuang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updates to envs.dev_ike for dogfood / edx4edx dev server
parent
2a16c46d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
1 deletions
+20
-1
envs/dev_ike.py
+20
-1
No files found.
envs/dev_ike.py
View file @
066dcfab
...
...
@@ -7,17 +7,21 @@ sessions. Assumes structure:
/mitx # The location of this repo
/log # Where we're going to write log files
"""
MITX_ROOT_URL
=
'/mitx2'
from
envs.common
import
*
from
envs.logsettings
import
get_logger_config
from
dev
import
*
MITX_ROOT_URL
=
'/mitx2'
#-----------------------------------------------------------------------------
# ichuang
DEBUG
=
True
ENABLE_MULTICOURSE
=
True
# set to False to disable multicourse display (see lib.util.views.mitxhome)
QUICKEDIT
=
True
MITX_ROOT_URL
=
''
COURSE_SETTINGS
=
{
'6.002_Spring_2012'
:
{
'number'
:
'6.002x'
,
'title'
:
'Circuits and Electronics'
,
...
...
@@ -53,3 +57,18 @@ COURSE_SETTINGS = {'6.002_Spring_2012': {'number' : '6.002x',
#-----------------------------------------------------------------------------
MIDDLEWARE_CLASSES
=
MIDDLEWARE_CLASSES
+
(
'ssl_auth.ssl_auth.NginxProxyHeaderMiddleware'
,
# ssl authentication behind nginx proxy
)
AUTHENTICATION_BACKENDS
=
(
'ssl_auth.ssl_auth.SSLLoginBackend'
,
'django.contrib.auth.backends.ModelBackend'
,
)
INSTALLED_APPS
=
INSTALLED_APPS
+
(
'ssl_auth'
,
)
LOGIN_REDIRECT_URL
=
MITX_ROOT_URL
+
'/'
LOGIN_URL
=
MITX_ROOT_URL
+
'/'
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