from .base import *

#  SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'CHANGEME'

DEBUG = True

LOCALQUEUE = {
    'root_path': '/tmp/servershark/',
    'plugin_installation': os.path.join(BASE_DIR, 'plugin_installations'),
    'plugin_output': os.path.join(BASE_DIR, 'plugin_output'),
    'redis_url': 'redis://localhost:6379',
    'job_queue': 'queue:jobs',
    'result_queue': 'queue:results',
    'timeout': 0,
    'debug': False,
}

HPC = {
    'username': 'xxx',
    'password': 'xxx',
    'host': 'xxx',
    'port': 22,
    'queue': 'xx',
    'tasks_per_node': [],
    'root_path': 'xxx',
    'log_path': 'xxx',
    'ssh_tunnel_username': '',
    'ssh_tunnel_password': '',
    'ssh_tunnel_host': '',
    'ssh_tunnel_port': '',
    'ssh_use_tunnel': '',
    'cores_per_job': 1,
    'local_log_path': ''
}


COLLECTION_CONNECTOR_IDENTIFIER = 'LOCALQUEUE'

# Database
# https://docs.djangoproject.com/en/1.9/ref/settings/#databases

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        'NAME': 'servershark',
        'USER': 'root',
        'PASSWORD': 'CHANGEME',
        'HOST': 'localhost',
        'CONN_MAX_AGE': 3500,
    },
    'mongodb': {
        'ENGINE': '',
        'NAME': 'smartshark',
        'USER': 'root',
        'PASSWORD': 'CHANGEME',
        'HOST': 'localhost',
        'PORT': 27017,
        'AUTHENTICATION_DB': 'smartshark',
        'PLUGIN_SCHEMA_COLLECTION': 'plugin_schema',
        'SHARDING': False,
    }
}

# API Key for visualSHARK if used
API_KEY = None

EMAIL_HOST = ''
EMAIL_PORT = 587
EMAIL_HOST_USER = ''
EMAIL_HOST_PASSWORD = ''
EMAIL_USE_TLS = True
NOTIFICATION_RECEIVER = ''

@@ -834,16 +834,41 @@
 ath': ''
+,%0A    'hosts_per_jobs': 1
 %0A%7D%0A%0A%0ACOL

Update settings_template_vagrant.py