layerindex-web/wsgi.py
Alex Franco e6233b61cd 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>
2016-06-22 16:35:06 -05: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()