get app ready for heroku
This commit is contained in:
@@ -159,6 +159,7 @@ USE_TZ = True
|
|||||||
# https://docs.djangoproject.com/en/1.10/howto/static-files/
|
# https://docs.djangoproject.com/en/1.10/howto/static-files/
|
||||||
|
|
||||||
STATIC_URL = '/static/'
|
STATIC_URL = '/static/'
|
||||||
|
STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')
|
||||||
STATICFILES_DIRS = (
|
STATICFILES_DIRS = (
|
||||||
os.path.join(BASE_DIR, 'static'),
|
os.path.join(BASE_DIR, 'static'),
|
||||||
)
|
)
|
||||||
@@ -10,7 +10,9 @@ https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/
|
|||||||
import os
|
import os
|
||||||
|
|
||||||
from django.core.wsgi import get_wsgi_application
|
from django.core.wsgi import get_wsgi_application
|
||||||
|
from whitenoise.django import DjangoWhiteNoise
|
||||||
|
|
||||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "fincom.settings")
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "fincom.settings")
|
||||||
|
|
||||||
application = get_wsgi_application()
|
application = get_wsgi_application()
|
||||||
|
application = DjangoWhiteNoise(application)
|
||||||
29
requirements.txt
Normal file
29
requirements.txt
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
appdirs==1.4.0
|
||||||
|
boto3==1.4.4
|
||||||
|
botocore==1.5.7
|
||||||
|
Django==1.10.5
|
||||||
|
django-cleanup==0.4.2
|
||||||
|
django-stdimage==2.4.1
|
||||||
|
django-storages==1.5.2
|
||||||
|
docutils==0.13.1
|
||||||
|
futures==3.0.5
|
||||||
|
gunicorn==19.6.0
|
||||||
|
jmespath==0.9.1
|
||||||
|
oauthlib==2.0.1
|
||||||
|
olefile==0.44
|
||||||
|
packaging==16.8
|
||||||
|
Pillow==4.0.0
|
||||||
|
progressbar2==3.12.0
|
||||||
|
psycopg2==2.6.2
|
||||||
|
PyJWT==1.4.2
|
||||||
|
pyparsing==2.1.10
|
||||||
|
python-dateutil==2.6.0
|
||||||
|
python-openid==2.2.5
|
||||||
|
python-utils==2.0.1
|
||||||
|
requests==2.13.0
|
||||||
|
requests-oauthlib==0.7.0
|
||||||
|
s3transfer==0.1.10
|
||||||
|
six==1.10.0
|
||||||
|
social-auth-app-django==1.0.1
|
||||||
|
social-auth-core==1.1.0
|
||||||
|
whitenoise==3.3.0
|
||||||
Reference in New Issue
Block a user