layerindex-web/wsgi.py
Alex Franco 4daaf718db Docker based environment setup
Replicate production setup in Docker containers

[YOCTO #7575]

Signed-off-by: Alex Franco <alejandro.franco@linux.intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2015-10-07 11:34:34 +01:00

7 lines
207 B
Python

import os, sys
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings")
sys.path.append('/var/www/html/layerindex')
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()