1
# Copyright 2010 Canonical Ltd. This software is licensed under the
2
# GNU Affero General Public License version 3 (see the file LICENSE).
4
from wsgiref.simple_server import make_server
7
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
9
from identityprovider.wsgi import make_app
10
httpd = make_server('', 8000, make_app())
13
print "Serving HTTP on port 8000..."
15
# Respond to requests until process is killed