Fixed dashboard errors. Added a proper uwsgi script with matching .ini templates. Added django settings files that fix issues with Django attempting to write files to the read only snap filesystem, and generally make things work well in the snap. Fixed snap-openstack.yaml entries so that our file and directory setup is accurate.
9 lines
194 B
Python
Executable File
9 lines
194 B
Python
Executable File
#!/usr/bin/env python2
|
|
import os
|
|
import sys
|
|
|
|
os.environ['DJANGO_SETTINGS_MODULE'] = 'openstack_dashboard.settings'
|
|
|
|
import django.core.wsgi
|
|
application = django.core.wsgi.get_wsgi_application()
|