From 7ca53355df970c8e4cd5d541fd8cce93fe974b53 Mon Sep 17 00:00:00 2001 From: Mike Olund Date: Thu, 16 Mar 2017 22:42:40 -0700 Subject: [PATCH] Troubleshooting deployment issues --- edivorce/settings/openshift.py | 4 ++-- wsgi.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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()