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:
Troy Sankey
2020-09-10 15:36:04 -04:00
parent 26276c796d
commit fce015e08c
2 changed files with 26 additions and 0 deletions

View 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

View 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