diff --git a/.gitignore b/.gitignore index 6c3363a..54d0512 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ dev.db venv/* backups/* static/ +cabot/.collectstatic/ node_modules/* .python-eggs/* cabot.egg-info diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..7fb0102 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,2 @@ +recursive-include cabot/.collectstatic * +recursive-include cabot/templates * diff --git a/cabot/settings.py b/cabot/settings.py index d9dc980..850b2f8 100644 --- a/cabot/settings.py +++ b/cabot/settings.py @@ -69,7 +69,7 @@ MEDIA_URL = '%s/media/' % URL_PREFIX # Don't put anything in this directory yourself; store your static files # in apps' "static/" subdirectories and in STATICFILES_DIRS. # Example: "/home/media/media.lawrence.com/static/" -STATIC_ROOT = os.path.join(PROJECT_ROOT, os.path.pardir, 'static/') +STATIC_ROOT = os.path.join(PROJECT_ROOT, '.collectstatic/') COMPRESS_ROOT = STATIC_ROOT diff --git a/cabot/templates/base.html b/cabot/templates/base.html index 758427d..ec85073 100644 --- a/cabot/templates/base.html +++ b/cabot/templates/base.html @@ -18,7 +18,6 @@ {% endcompress %} - {% compress js %}