diff --git a/edivorce/settings/openshift.py b/edivorce/settings/openshift.py index 19fb75a6..d8e569dc 100644 --- a/edivorce/settings/openshift.py +++ b/edivorce/settings/openshift.py @@ -38,8 +38,8 @@ WEASYPRINT_URL = 'http://weasyprint:5001' WEASYPRINT_CSS_LOOPBACK = 'http://edivorce-django:8080' # Django Compressor offline compression (triggered by setup.py during OpenShift build) -COMPRESS_ENABLED = True -COMPRESS_OFFLINE = True +COMPRESS_ENABLED = False +# COMPRESS_OFFLINE = True # The app will be served out of a subdirectory of justice.gov.bc.ca # PROD: /divorce diff --git a/wsgi.py b/wsgi.py index dc176b36..85adbd7b 100644 --- a/wsgi.py +++ b/wsgi.py @@ -17,8 +17,8 @@ if not os.environ.get('OPENSHIFT_BUILD_NAMESPACE', False): else: os.environ.setdefault("DJANGO_SETTINGS_MODULE", "edivorce.settings.openshift") # compress the static assets - execute_from_command_line(['manage.py', 'compress', '--force']) + # execute_from_command_line(['manage.py', 'compress', '--force']) # load the Question fixture - execute_from_command_line(['manage.py', 'loaddata', '/opt/app-root/src/edivorce/fixtures/Question.json']) + # execute_from_command_line(['manage.py', 'loaddata', '/opt/app-root/src/edivorce/fixtures/Question.json']) application = get_wsgi_application()