ES-DOC / esdoc-questionnaire

ES-DOC Questionnaire (webform generator for creating CIM Documents). POC: @allynt
Other
2 stars 1 forks source link

Figure out how to specify compression filepaths in the same way on both local servers and the webfaction servers. #439

Open allynt opened 8 years ago

allynt commented 8 years ago

WHO: @allynt

Figure out how to make compression filepaths work on webfactions servers.

The Q uses django_compression to 1) pre-compile "less" files and 2) compress all static files. The details of where to store compressed files are specified in settings.py. This works fine locally, but I have found that I need to change the paths slightly for the Q when deployed on webfaction servers. More details can be found at http://django-compressor.readthedocs.org/en/latest/remote-storages/.

Figure out how to configure settings.py so that it works in both environments.

allynt commented 7 years ago

In the meantime, I ought to write some code that catches when static compressed files are not found and raises a suitable error (b/c I just spent far too long wondering why my newly-released code stopped working on the production server).