# line, it's possible required libraries won't be in your searchable path
#
+from whitenoise import WhiteNoise
+
BASE_WCS_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'wcs')
sys.path.append(BASE_WCS_DIR)
if os.path.exists(os.path.join(BASE_WCS_DIR, 'data/vendor/effective_tld_names.dat')):
publisher.WcsPublisher.DATA_DIR = os.path.join(BASE_WCS_DIR, 'data')
pub = publisher.WcsPublisher.create_publisher(register_cron=False)
-application = QWIP(pub)
-
+application = WhiteNoise(QWIP(pub))
+application.add_files(os.path.join(BASE_WCS_DIR, 'wcs/qommon/static'), 'qo')
if __name__ == '__main__':
from wsgiref.simple_server import make_server