diff options
author | Alex Franco <alejandro.franco@linux.intel.com> | 2015-08-31 22:16:34 +0000 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2015-10-07 11:34:34 +0100 |
commit | 4daaf718db4650002e98ffd3819d2d6164e80404 (patch) | |
tree | 758212e60f893c8a072d825e90c06de7dba5dc13 /wsgi.py | |
parent | 8da2194bb62af9bf88647d8e96eacf977ba77218 (diff) | |
download | openembedded-core-contrib-4daaf718db4650002e98ffd3819d2d6164e80404.tar.gz |
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>
Diffstat (limited to 'wsgi.py')
-rw-r--r-- | wsgi.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/wsgi.py b/wsgi.py new file mode 100644 index 0000000000..99f0915afb --- /dev/null +++ b/wsgi.py @@ -0,0 +1,6 @@ +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() |