mirror of
https://github.com/fergalmoran/dss.git
synced 2025-12-22 09:38:18 +00:00
20 lines
409 B
Python
Executable File
20 lines
409 B
Python
Executable File
import os
|
|
import sys
|
|
|
|
import djcelery
|
|
djcelery.setup_loader()
|
|
|
|
path = '/var/www/deepsouthsounds.com/dss'
|
|
if path not in sys.path:
|
|
sys.path.append(path)
|
|
|
|
path = '/var/www/deepsouthsounds.com'
|
|
if path not in sys.path:
|
|
sys.path.append(path)
|
|
|
|
|
|
os.environ['DJANGO_SETTINGS_MODULE'] = 'dss.settings'
|
|
|
|
import django.core.handlers.wsgi
|
|
application = django.core.handlers.wsgi.WSGIHandler()
|