6 # Add project directories to PYTHONPATH
7 PROJECT_DIR = path.abspath(path.dirname(__file__))
8 PROJECT_MODULE_DIRS = [PROJECT_DIR + '/lib', PROJECT_DIR + '/apps', PROJECT_DIR + '/wolnelektury']
10 sys.path = PROJECT_MODULE_DIRS + sys.path
12 # Set the DJANGO_SETTINGS_MODULE environment variable.
13 os.environ['DJANGO_SETTINGS_MODULE'] = 'settings_eo'
15 from django.core.servers.fastcgi import runfastcgi
16 runfastcgi(method='threaded', daemonize='false')