mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-16 07:40:44 +00:00
3b215c9f88
This allows us to deploy much faster: all we have to do is to copy the assets from the container to the shared volume. We also changed the way themes are managed: similarly to static assets, they are now packaged inside the docker image.
22 lines
514 B
Python
22 lines
514 B
Python
"""
|
|
Bare minimum settings for collecting production assets.
|
|
"""
|
|
from ..common import *
|
|
from openedx.core.lib.derived import derive_settings
|
|
|
|
|
|
COMPREHENSIVE_THEME_DIRS.append('/openedx/themes')
|
|
STATIC_ROOT_BASE = '/openedx/data/staticfiles'
|
|
STATIC_ROOT = path(STATIC_ROOT_BASE) / 'studio'
|
|
WEBPACK_LOADER['DEFAULT']['STATS_FILE'] = STATIC_ROOT / "webpack-stats.json"
|
|
|
|
SECRET_KEY = 'secret'
|
|
XQUEUE_INTERFACE = {
|
|
'django_auth': None,
|
|
'url': None,
|
|
}
|
|
DATABASES = {
|
|
"default": {},
|
|
}
|
|
derive_settings(__name__)
|