get app ready for heroku

This commit is contained in:
2017-02-07 22:26:44 -05:00
parent ae5250e688
commit 537795bf16
36 changed files with 33 additions and 0 deletions

1
Procfile Normal file
View File

@@ -0,0 +1 @@
web: gunicorn fincom.wsgi --log-file -

View File

@@ -159,6 +159,7 @@ USE_TZ = True
# https://docs.djangoproject.com/en/1.10/howto/static-files/
STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')
STATICFILES_DIRS = (
os.path.join(BASE_DIR, 'static'),
)

View File

@@ -10,7 +10,9 @@ https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/
import os
from django.core.wsgi import get_wsgi_application
from whitenoise.django import DjangoWhiteNoise
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "fincom.settings")
application = get_wsgi_application()
application = DjangoWhiteNoise(application)

29
requirements.txt Normal file
View 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