import os

_basedir = os.path.abspath(os.path.dirname(__file__))

SQLALCHEMY_DATABASE_URI = ('sqlite:///%s' %
                           os.path.join(_basedir, 'pbtaskrunner.db'))

SQLALCHEMY_TRACK_MODIFICATIONS = True
CELERY_BROKER_URL = 'redis://localhost:6379/0'
CELERY_RESULT_BACKEND = 'redis://localhost:6379/0'

TESTS_DIR = _basedir
SCRIPT_FILE = os.path.join(_basedir, 'scripts/run_test.sh')

REDIS_HOST = '127.0.0.1'
REDIS_PORT = 5000

SECRET_KEY = 'herpaderp'

SOURCE_ROOT = '%s' % os.path.join(_basedir, 'local')

del os
