__local_settings.py 1.84 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
# Local settings for mothra project.
LOCAL_SETTINGS = True
from settings import *

DEBUG = True

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
        'NAME': os.path.join(PROJECT_DIR, 'mothra.db'), # Or path to database file if using sqlite3.
        'USER': '',                             # Not used with sqlite3.
        'PASSWORD': '',                         # Not used with sqlite3.
        'HOST': '',                             # Set to empty string for localhost. Not used with sqlite3.
        'PORT': '',                             # Set to empty string for default. Not used with sqlite3.
    }
}

Janez K's avatar
Janez K committed
18 19
USE_CONCURRENCY = False

Janez K's avatar
Janez K committed
20 21
FILES_FOLDER = os.path.join(PUBLIC_DIR, 'files/')

Janez K's avatar
Janez K committed
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
INSTALLED_APPS_WORKFLOWS_SUB = (
    'workflows.base',
    #'workflows.latino',
    #'workflows.decision_support',
    #'workflows.segmine',
    #'workflows.subgroup_discovery',
    #'workflows.nlp',
    #'workflows.nl_toolkit',
    #'workflows.ilp',
    #'workflows.weka',
    #'workflows.cforange',
    #'workflows.perfeval',
    #'workflows.mysql',
    #'workflows.lemmagen',
    #'workflows.crossbee',
    #'workflows.scikitAlgorithms',
    #'workflows.lemmagen',
    #'workflows.crossbee',
    #'workflows.streaming',
    #'workflows.bio3graph',
    #'workflows.noise',
    #'workflows.vipercharts',
    #'workflows.MUSE',
Janez K's avatar
Janez K committed
45
    #'workflows.hbp',
46 47 48 49 50 51
)

INSTALLED_APPS_EXTERNAL_PACKAGES = (
    #'rdm.db',
    #'rdm.wrappers'
)
Janez K's avatar
Janez K committed
52

Janez K's avatar
Janez K committed
53
BROKER_URL = 'django://'
Janez K's avatar
Janez K committed
54

55 56 57 58 59 60 61 62
# Make this unique, and don't share it with anybody.
SECRET_KEY = '*f$)twxl*rdk*o@^j%^0f0r#z7=kkyw=-2v*rjdnon_j==1uw@'

if DEBUG:
    # Show emails in the console during developement.
    EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'

CACHES = {}
63 64 65 66 67

import sys
reload(sys)
sys.setdefaultencoding('utf8')

68
USE_WINDOWS_QUEUE = False