From f8c7ea5abbc709a720a7a83b735a65b768b27554 Mon Sep 17 00:00:00 2001 From: Bryan Date: Sun, 16 Aug 2015 20:34:22 -0400 Subject: [PATCH] update docs: compression only for prod closes #444 --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 70034ec..de0787a 100644 --- a/README.md +++ b/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`. -- 2.25.1