Permalink
Browse files

Added requirements and apache configuration.

  • Loading branch information...
Johan
Johan committed Oct 9, 2011
1 parent d566211 commit ef8c4f697cb49c2c7bc5bf7193fc417023b3650a
Showing with 24 additions and 5 deletions.
  1. +14 −0 apache/django.wsgi
  2. +0 −5 apps/log/views.py
  3. +10 −0 requirements.txt
View
@@ -0,0 +1,14 @@
+import os
+import sys
+import site
+
+site.addsitedir('/home/johan/.virtualenvs/IllutronDashboard/lib/python2.7/site-packages')
+
+sys.path.append('/home/johan/srv/')
+sys.path.append('/home/johan/srv/IllutronDashboard/')
+
+os.environ['DJANGO_SETTINGS_MODULE'] = 'IllutronDashboard.settings'
+
+import django.core.handlers.wsgi
+
+application = django.core.handlers.wsgi.WSGIHandler()
View
@@ -1,9 +1,5 @@
-from django.core import serializers
-
from django.utils import simplejson
-
from django.http import HttpResponse
-from models import Entry
from django.contrib.auth.models import User
def latest(request):
@@ -48,4 +44,3 @@ def latest(request):
return HttpResponse(simplejson.dumps(data), mimetype='application/json')
-
View
@@ -0,0 +1,10 @@
+Django==1.3.1
+PIL==1.1.7
+South==0.7.3
+google-api-python-client==1.0beta4
+httplib2==0.7.1
+oauth2client==1.0beta4
+python-gflags==1.6
+simplejson==2.2.1
+sorl-thumbnail==11.09
+wsgiref==0.1.2

0 comments on commit ef8c4f6

Please sign in to comment.