Open allynt opened 8 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).
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.