Skip to content

Commit

Permalink
heroku runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
bbengfort committed Jul 6, 2016
1 parent 27f7c82 commit a5dbbfe
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: gunicorn minent.wsgi --log-file -
6 changes: 5 additions & 1 deletion minent/settings/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@
DEBUG = False

## Hosts
ALLOWED_HOSTS = ['ddl-minent.herokuapp.com', 'minent.districtdatalabs.com']
ALLOWED_HOSTS = [
'minimum-entropy.herokuapp.com',
'minent.districtdatalabs.com',
'minimum-entropy.districtdatalabs.com',
]

## Static files served by WhiteNoise
STATIC_ROOT = os.path.join(PROJECT, 'staticfiles')
5 changes: 5 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ django-jsonfield==1.0.0
django-model-utils==2.5
djangorestframework==3.3.3
whitenoise==3.2
gunicorn==19.6.0

## Database Requirements
dj-database-url==0.4.1
psycopg2==2.6.1

Expand Down Expand Up @@ -36,3 +39,5 @@ coverage==4.1
pip==8.1.2
setuptools==24.0.2
wheel==0.29.0

## The following requirements were added by pip freeze:
1 change: 1 addition & 0 deletions runtime.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python-3.5.1

0 comments on commit a5dbbfe

Please sign in to comment.