diff --git a/Aptfile b/Aptfile index 31e96b6..55c7cf4 100644 --- a/Aptfile +++ b/Aptfile @@ -1,6 +1,10 @@ libgobject-2.0-0 libpango-1.0-0 +libpangocairo-1.0-0 libcairo2 libharfbuzz0b libfontconfig1 libpangoft2-1.0-0 +libgdk-pixbuf2.0-0 +libffi-dev +shared-mime-info \ No newline at end of file diff --git a/Procfile b/Procfile index 8a7bba7..0680e63 100644 --- a/Procfile +++ b/Procfile @@ -1 +1,2 @@ -web: gunicorn config.wsgi --log-file - +release: python manage.py migrate +web: gunicorn config.wsgi --log-file - \ No newline at end of file diff --git a/config/settings.py b/config/settings.py index c2ce1b2..13011fc 100644 --- a/config/settings.py +++ b/config/settings.py @@ -14,7 +14,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent SECRET_KEY = os.environ.get('DJANGO_SECRET_KEY', 'django-insecure-change-me-locally') # SECURITY WARNING: don't run with debug turned on in production! -DEBUG = os.environ.get('DEBUG', 'True') == 'True' +DEBUG = os.environ.get('DEVELOPMENT', 'False') == 'True' ALLOWED_HOSTS = ['*'] @@ -149,6 +149,9 @@ STATICFILES_DIRS = [ # Whitenoise storage for compressed and cached static files STORAGES = { + "default": { + "BACKEND": "django.core.files.storage.FileSystemStorage", + }, "staticfiles": { "BACKEND": "whitenoise.storage.CompressedManifestStaticFilesStorage", },