Create new analytics_exporter.py settings
These new settings files are intended to be used by the Analytics Exporter automation managed by the DE team. The Analytics Exporter must be able to simply clone edx-platform, install requirements, fetch remote-config, then just run management commands without needing to run any ansible or pull down any docker/AMI images. Since the theming app includes a check that fails if the themes base dir cannot be found, and that check runs on app startup, we must disable the app. DENG-379
This commit is contained in:
13
cms/envs/analytics_exporter.py
Normal file
13
cms/envs/analytics_exporter.py
Normal file
@@ -0,0 +1,13 @@
|
||||
"""
|
||||
Settings for running management commands for the Analytics Exporter.
|
||||
|
||||
The Analytics Exporter jobs run edxapp management commands using production
|
||||
settings and configuration, however they currently DO NOT use edxapp production
|
||||
environments (such as edxapp Amazon AMIs or Docker images) where theme files
|
||||
get installed. As a result we must disable comprehensive theming or else
|
||||
startup checks from the theming app will throw an error due to missing themes.
|
||||
"""
|
||||
|
||||
from .production import * # pylint: disable=wildcard-import, unused-wildcard-import
|
||||
|
||||
ENABLE_COMPREHENSIVE_THEMING = False
|
||||
13
lms/envs/analytics_exporter.py
Normal file
13
lms/envs/analytics_exporter.py
Normal file
@@ -0,0 +1,13 @@
|
||||
"""
|
||||
Settings for running management commands for the Analytics Exporter.
|
||||
|
||||
The Analytics Exporter jobs run edxapp management commands using production
|
||||
settings and configuration, however they currently DO NOT use edxapp production
|
||||
environments (such as edxapp Amazon AMIs or Docker images) where theme files
|
||||
get installed. As a result we must disable comprehensive theming or else
|
||||
startup checks from the theming app will throw an error due to missing themes.
|
||||
"""
|
||||
|
||||
from .production import * # pylint: disable=wildcard-import, unused-wildcard-import
|
||||
|
||||
ENABLE_COMPREHENSIVE_THEMING = False
|
||||
Reference in New Issue
Block a user