From e20ed191c1c1f9d58e97f62a6bf021e0785b8c5f Mon Sep 17 00:00:00 2001 From: Nick Sergeant Date: Mon, 20 Oct 2014 11:00:30 -0400 Subject: [PATCH] Working on Heroku integration. --- Procfile | 1 + snipt.wsgi | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 Procfile create mode 100644 snipt.wsgi diff --git a/Procfile b/Procfile new file mode 100644 index 0000000..b48e1f5 --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +web: gunicorn hellodjango.wsgi --log-file - diff --git a/snipt.wsgi b/snipt.wsgi new file mode 100644 index 0000000..ecf05ea --- /dev/null +++ b/snipt.wsgi @@ -0,0 +1,14 @@ +""" +WSGI config for what project. + +It exposes the WSGI callable as a module-level variable named ``application``. + +For more information on this file, see +https://docs.djangoproject.com/en/1.6/howto/deployment/wsgi/ +""" + +import os +os.environ.setdefault("DJANGO_SETTINGS_MODULE", "snipt.settings") + +from django.core.wsgi import get_wsgi_application +application = get_wsgi_application()