mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-05 13:14:46 +02:00

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>
7 lines
207 B
Python
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()
|