Browse Source

update docs: compression only for prod

closes #444
Bryan 8 years ago
parent
commit
f8c7ea5abb
1 changed files with 3 additions and 1 deletions
  1. 3 1
      README.md

+ 3 - 1
README.md

@@ -449,7 +449,9 @@ file hosting is done by `DEFAULT_FILE_STORAGE` defined in `.env`.
 
 Make sure you are inside your virtual environment (`source venv/bin/activate`).
 
-If the code has changed or this is the first run, make sure any modified static
+Static file hosting makes use of compression if using
+`DJANGO_SETTINGS_MODULE='karmaworld.settings.prod'`. If using compression and
+the code has changed or this is the first run, make sure any modified static
 files get compressed with `foreman run python manage.py compress`. Static files
 then need to be uploaded correctly with `foreman run python manage.py
 collectstatic`.