Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compressed static file #599

Open
wants to merge 1 commit into
base: 4.6.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions deployment/.env
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ STATIC_ROOT=/home/web/statics/static/
MEDIA_ROOT=/home/web/statics/media/
GEOIP_PATH=/home/web/statics/geoip.db

CACHE_BUSTING_STATIC_ENABLED=False
CACHE_BUSTING_STATIC_ENABLED=True

MEMCACHED_ENABLED=False
MEMCACHED_BACKEND=django.core.cache.backends.memcached.MemcachedCache
Expand Down Expand Up @@ -247,7 +247,7 @@ PYTHONPATH=/home/web/django_project:/geonode
USE_DEFAULT_GEOSERVER_STYLE=False
INITIAL_FIXTURES=True

VERSION=4.1.1-6
VERSION=4.1.1-8
ISTSOS_VERSION=2.4.1-1

# ------ GEOSERVER ------
Expand Down
1 change: 0 additions & 1 deletion deployment/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ x-common-django:
env_file:
- .env
volumes:
- ../geonode:/geonode
- ../django_project:/home/web/django_project
- ./volumes/statics:/home/web/statics:rw
restart: on-failure
Expand Down
1 change: 0 additions & 1 deletion django_project/core/settings/prod.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,5 @@
'DEFAULT_FROM_EMAIL', '[email protected]'
)

STATICFILES_STORAGE = 'whitenoise.storage.StaticFilesStorage'
DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
STATIC_URL = '/static/'
2 changes: 1 addition & 1 deletion django_project/gwml2
Submodule gwml2 updated from 0b23ac to 9312d5