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
19 # styles both for mobile and for big screen
21 'css/jquery.countdown.css',
28 'css/picture_box.css',
31 'sponsors/css/sponsors.css',
33 'funding/funding.scss',
37 'css/social/shelf_tags.css',
38 'css/ui-lightness/jquery-ui-1.8.16.custom.css',
40 'output_filename': 'css/compressed/all.css',
46 'output_filename': 'css/compressed/ie.css',
50 'css/master.book.css',
52 'output_filename': 'css/compressed/book.css',
56 'css/master.book.css',
57 'css/master.picture.css',
59 'output_filename': 'css/compressed/picture.css',
63 'jplayer/jplayer.blue.monday.css',
66 'output_filename': 'css/compressed/player.css',
69 'source_filenames': ('css/simple.css',),
70 'output_filename': 'css/compressed/simple.css',
77 'js/jquery.cycle.min.js',
78 'js/jquery.jqmodal.js',
80 'js/jquery.countdown.js', 'js/jquery.countdown-pl.js',
81 'js/jquery.countdown-de.js', 'js/jquery.countdown-uk.js',
82 'js/jquery.countdown-es.js', 'js/jquery.countdown-lt.js',
83 'js/jquery.countdown-ru.js', 'js/jquery.countdown-fr.js',
85 'js/jquery-ui-1.8.16.custom.min.js',
90 'pdcounter/pdcounter.js',
91 'sponsors/js/sponsors.js',
92 'player/openplayer.js',
96 'output_filename': 'js/base.min.js',
100 'jplayer/jquery.jplayer.min.js',
101 'jplayer/jplayer.playlist.min.js',
104 'output_filename': 'js/player.min.js',
107 'source_filenames': [
108 'js/jquery.eventdelegation.js',
109 'js/jquery.scrollto.js',
110 'js/jquery.highlightfade.js',
113 'player/openplayer.js',
114 'js/progressSpin.min.js',
116 'output_filename': 'js/book.min.js',
119 'source_filenames': ('js/ierange-m2.js',),
120 'output_filename': 'js/book_ie.min.js',
125 STATICFILES_STORAGE = 'pipeline.storage.PipelineCachedStorage'
126 PIPELINE_CSS_COMPRESSOR = None
127 PIPELINE_JS_COMPRESSOR = None
129 PIPELINE_COMPILERS = (
130 'pyscss_compiler.PySCSSCompiler',
132 PIPELINE_PYSCSS_BINARY = '/usr/bin/env /home/staging/wolnelektury.pl/ve/bin/pyscss'
133 PIPELINE_PYSCSS_ARGUMENTS = ''