2 from .paths import PROJECT_DIR
4 # Absolute path to the directory that holds media.
5 # Example: "/home/media/media.lawrence.com/"
6 MEDIA_ROOT = path.join(PROJECT_DIR, '../media/')
7 STATIC_ROOT = path.join(PROJECT_DIR, '../static/')
8 SEARCH_INDEX = path.join(PROJECT_DIR, '../search_index/')
10 # URL that handles the media served from MEDIA_ROOT. Make sure to use a
11 # trailing slash if there is a path component (optional in other cases).
12 # Examples: "http://media.lawrence.com", "http://example.com/media/"
14 STATIC_URL = '/static/'
16 # CSS and JavaScript file groups
21 # styles both for mobile and for big screen
23 'css/jquery.countdown.css',
27 'sponsors/css/sponsors.css',
28 'funding/funding.scss',
31 'css/social/shelf_tags.css',
33 'uni_form/uni-form.css',
34 'uni_form/default.uni-form.css',
36 'css/ui-lightness/jquery-ui-1.8.16.custom.css',
38 'output_filename': 'css/compressed/main.css',
42 'css/master.book.css',
44 'output_filename': 'css/compressed/book.css',
48 'jplayer/jplayer.blue.monday.css',
51 'output_filename': 'css/compressed/player.css',
54 'source_filenames': ('css/simple.css',),
55 'output_filename': 'css/compressed/simple.css',
62 'js/jquery.cycle.min.js',
63 'js/jquery.jqmodal.js',
65 'js/jquery.countdown.js', 'js/jquery.countdown-pl.js',
66 'js/jquery.countdown-de.js', 'js/jquery.countdown-uk.js',
67 'js/jquery.countdown-es.js', 'js/jquery.countdown-lt.js',
68 'js/jquery.countdown-ru.js', 'js/jquery.countdown-fr.js',
70 'js/jquery-ui-1.8.16.custom.min.js',
75 'pdcounter/pdcounter.js',
76 'sponsors/js/sponsors.js',
77 'player/openplayer.js',
81 'uni_form/uni-form.js',
83 'output_filename': 'js/base.min.js',
87 'jplayer/jquery.jplayer.min.js',
88 'jplayer/jplayer.playlist.min.js',
91 'output_filename': 'js/player.min.js',
95 'js/jquery.eventdelegation.js',
96 'js/jquery.scrollto.js',
97 'js/jquery.highlightfade.js',
99 'player/openplayer.js',
101 'output_filename': 'js/book.min.js',
104 'source_filenames': ('js/ierange-m2.js',),
105 'output_filename': 'js/book_ie.min.js',
110 STATICFILES_STORAGE = 'pipeline.storage.PipelineCachedStorage'
111 PIPELINE_CSS_COMPRESSOR = None
112 PIPELINE_JS_COMPRESSOR = None
114 PIPELINE_COMPILERS = (
115 'pyscss_compiler.PySCSSCompiler',
117 PIPELINE_PYSCSS_BINARY = '/usr/bin/env pyscss'
118 PIPELINE_PYSCSS_ARGUMENTS = ''