github dibug
This commit is contained in:
parent
79550235ff
commit
c9235c6961
4
Aptfile
4
Aptfile
@ -1,6 +1,10 @@
|
|||||||
libgobject-2.0-0
|
libgobject-2.0-0
|
||||||
libpango-1.0-0
|
libpango-1.0-0
|
||||||
|
libpangocairo-1.0-0
|
||||||
libcairo2
|
libcairo2
|
||||||
libharfbuzz0b
|
libharfbuzz0b
|
||||||
libfontconfig1
|
libfontconfig1
|
||||||
libpangoft2-1.0-0
|
libpangoft2-1.0-0
|
||||||
|
libgdk-pixbuf2.0-0
|
||||||
|
libffi-dev
|
||||||
|
shared-mime-info
|
||||||
3
Procfile
3
Procfile
@ -1 +1,2 @@
|
|||||||
web: gunicorn config.wsgi --log-file -
|
release: python manage.py migrate
|
||||||
|
web: gunicorn config.wsgi --log-file -
|
||||||
@ -14,7 +14,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent
|
|||||||
SECRET_KEY = os.environ.get('DJANGO_SECRET_KEY', 'django-insecure-change-me-locally')
|
SECRET_KEY = os.environ.get('DJANGO_SECRET_KEY', 'django-insecure-change-me-locally')
|
||||||
|
|
||||||
# SECURITY WARNING: don't run with debug turned on in production!
|
# 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 = ['*']
|
ALLOWED_HOSTS = ['*']
|
||||||
|
|
||||||
@ -149,6 +149,9 @@ STATICFILES_DIRS = [
|
|||||||
|
|
||||||
# Whitenoise storage for compressed and cached static files
|
# Whitenoise storage for compressed and cached static files
|
||||||
STORAGES = {
|
STORAGES = {
|
||||||
|
"default": {
|
||||||
|
"BACKEND": "django.core.files.storage.FileSystemStorage",
|
||||||
|
},
|
||||||
"staticfiles": {
|
"staticfiles": {
|
||||||
"BACKEND": "whitenoise.storage.CompressedManifestStaticFilesStorage",
|
"BACKEND": "whitenoise.storage.CompressedManifestStaticFilesStorage",
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user