edx4edx_aws.py 1.37 KB
Newer Older
1 2 3 4 5
# Settings for edx4edx production instance
from .aws import *
COURSE_NAME = "edx4edx"
COURSE_NUMBER = "edX.01"
COURSE_TITLE = "edx4edx: edX Author Course"
6
EDX4EDX_ROOT = ENV_ROOT / "data/edx4edx"
7 8

### Dark code. Should be enabled in local settings for devel. 
John Jarvis committed
9
QUICKEDIT = True
10
ENABLE_MULTICOURSE = True # set to False to disable multicourse display (see lib.util.views.mitxhome)
11
###
12 13
PIPELINE_CSS_COMPRESSOR = None
PIPELINE_JS_COMPRESSOR = None
14 15 16 17 18 19 20

COURSE_DEFAULT = 'edx4edx'
COURSE_SETTINGS =  {'edx4edx': {'number' : 'edX.01',
                                    'title'  : 'edx4edx: edX Author Course',
                                    'xmlpath': '/edx4edx/',
                                    'github_url': 'https://github.com/MITx/edx4edx',
                                    'active' : True,
ichuang committed
21 22
                                    'default_chapter' : 'Introduction',
                                    'default_section' : 'edx4edx_Course',
23 24
                                    },
                    }
25 26 27 28 29 30 31 32 33 34 35 36 37 38

STATICFILES_DIRS = [
    PROJECT_ROOT / "static",
    ASKBOT_ROOT / "askbot" / "skins",
    ("edx4edx", EDX4EDX_ROOT / "html"),
    ("circuits", DATA_DIR / "images"),
    ("handouts", DATA_DIR / "handouts"),
    ("subs", DATA_DIR / "subs"),

# This is how you would use the textbook images locally
#    ("book", ENV_ROOT / "book_images")
]

MAKO_TEMPLATES['course'] = [DATA_DIR, EDX4EDX_ROOT ]