From: Bryan Date: Mon, 17 Aug 2015 00:34:22 +0000 (-0400) Subject: update docs: compression only for prod X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f8c7ea5abbc709a720a7a83b735a65b768b27554;p=oweals%2Fkarmaworld.git update docs: compression only for prod closes #444 --- 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`.