AMO/FlightDeck/Contribution/LocalConfiguration
From MozillaWiki
< AMO | FlightDeck | Contribution
Edit your settings_local.py
and configure your local system to better suit your needs.
Contents
Do not display unnecessary logs (configure to your needs)
LOGGING['loggers']['f.search'] = {'level': logging.ERROR} LOGGING['loggers']['elasticsearch'] = {'level': logging.ERROR}
Be more verbose on other loggers
LOG_LEVEL = logging.DEBUG LOGGING['loggers']['f.jetpack']['level'] = logging.DEBUG LOGGING['loggers']['f.repackage'] = {'level': logging.DEBUG}
Display information about development box
PROJECT_VERSION += "-development"
Add AMO authentication
This requires an access to Mozilla VPN
TEST_AMO_USERNAME='your@addons.mozilla.org.login' TEST_AMO_PASSWORD='notsecure' AUTH_DATABASE = { 'NAME': 'somename', 'TABLE': 'users', 'USER': 'username', 'PASSWORD': 'password', 'HOST': 'hostname-within-vpn', 'PORT': }