diff --git a/docs/config/settings.md b/docs/config/settings.md index f9995078..9875c960 100644 --- a/docs/config/settings.md +++ b/docs/config/settings.md @@ -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. diff --git a/docs/install.md b/docs/install.md index 77e36a27..8ffc20c6 100644 --- a/docs/install.md +++ b/docs/install.md @@ -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 ```