docs: remove mentions of compress / django-compressor

This commit is contained in:
Yohan Boniface 2024-01-19 13:50:26 +01:00
parent 23af4c60cd
commit 541fbd4e56
2 changed files with 1 additions and 18 deletions

View file

@ -24,21 +24,6 @@ The hosts that uMap expects.
Can be set through env var too: `ALLOWED_HOSTS=umap.mydomain.org,u.mydomain.org`
#### COMPRESS_ENABLED
#### COMPRESS_STORAGE
To activate the compression of the static files, you can set this flag to `True`.
You can then run the following command to compress the assets:
```bash
umap compress
```
Optionally add `COMPRESS_STORAGE = "compressor.storage.GzipCompressorFileStorage"`
and add `gzip_static on` directive to Nginx `/static` location, so Nginx will
serve pregenerated files instead of compressing them on the fly.
#### DEBUG
Set it to `True` for easier debugging in case of error.

View file

@ -143,9 +143,8 @@ Here are the commands you'll need to run to create the tables, collect the stati
# Create the database tables
umap migrate
# Collect and compress static files
# Collect static files
umap collectstatic
umap compress
# Create a super user
umap createsuperuser
@ -167,5 +166,4 @@ Usually, for upgrading, you need those steps:
pip install umap-project --upgrade
umap migrate
umap collectstatic
umap compress
```