-
-
Save jcarbaugh/405311 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MEDIA_STATIC_ROOT = os.path.join(PROJECT_PATH, '..', 'site_media', 'static') | |
MEDIA_STATIC_URL = '/site_media/static/' | |
MEDIA_ROOT = os.path.join(PROJECT_PATH, os.pardir, '..', 'site_media', 'dynamic') | |
MEDIA_URL = '/site_media/dynamic/' | |
MEDIASYNC = { | |
'MEDIA_ROOT': MEDIA_STATIC_ROOT, | |
'MEDIA_URL': MEDIA_STATIC_URL, | |
'BACKEND':'mediasync.backends.s3', | |
'AWS_KEY':'XXXXXXXXXXXXXXXXXX', | |
'AWS_SECRET':'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX', | |
'AWS_BUCKET':'XXXXXXXXX', | |
'DOCTYPE':'html5', | |
'SERVE_REMOTE': True, | |
'CSS_PATH': 'css', | |
'JS_PATH': 'js', | |
'JOINED': { | |
'all.css': ['reset.css','960.css','layout.css','typography.css','forms.css','rounded-corners.css'], | |
'print.css': ['print.css'], | |
'all.js': ['jquery-1.4.js','jquery-ui.js','site.js'], | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I like. You'll have to add a caching minifier layer to compliment
JOINED
too.