From 75f526b1f0ef840d0f50152e8cdad88fcb6b5058 Mon Sep 17 00:00:00 2001 From: Tobias Bengfort Date: Tue, 8 May 2018 11:05:52 +0200 Subject: [PATCH] rename collectstatic to collected_static extracted from !23 --- castellum_core/.gitignore | 2 +- .../castellum_core/castellum_core/settings/default.py | 2 +- docker-compose.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/castellum_core/.gitignore b/castellum_core/.gitignore index 874dcc6b3..252596451 100644 --- a/castellum_core/.gitignore +++ b/castellum_core/.gitignore @@ -5,7 +5,7 @@ castellum_core.egg-info/ dist/ htmlcov/ node_modules/ -collectstatic/ +collected_static/ *.pyc *.sqlite3 diff --git a/castellum_core/castellum_core/castellum_core/settings/default.py b/castellum_core/castellum_core/castellum_core/settings/default.py index 78c6e8a17..efee35148 100644 --- a/castellum_core/castellum_core/castellum_core/settings/default.py +++ b/castellum_core/castellum_core/castellum_core/settings/default.py @@ -108,7 +108,7 @@ STATICFILES_FINDERS = [ STATIC_URL = '/static/' -STATIC_ROOT = os.path.join(BASE_DIR, 'collectstatic') +STATIC_ROOT = os.path.join(BASE_DIR, 'collected_static') NPM_ROOT_PATH = os.path.dirname(BASE_DIR) diff --git a/docker-compose.yml b/docker-compose.yml index 5acb24b00..6e9fc86dd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -22,7 +22,7 @@ services: python3 castellum_core/manage.py collectstatic --no-input && uwsgi uwsgi.ini" volumes: - - static-content:/code/castellum_core/collectstatic + - static-content:/code/castellum_core/collected_static - ./stage/settings.py:/code/castellum_core/castellum_core/settings/stage.py depends_on: - db -- GitLab