summaryrefslogtreecommitdiffstats
path: root/python/config.py
blob: 21c1e148924cb27b99f4c75d44167981eb22c44b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

import os
basedir = os.path.abspath(os.path.dirname(__file__))

class Config(object):
    SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URI') or \
        'sqlite:///' + os.path.join(basedir, 'fatcat_dev.sqlite')
    SQLALCHEMY_TRACK_MODIFICATIONS = False
    ELASTIC_BACKEND = "http://search.qa.fatcat.wiki:8088"
    ELASTIC_INDEX = "crossref-works"

    # "Event more verbose" debug options. SECRET_KEY is bogus.
    #SQLALCHEMY_ECHO = True
    #SECRET_KEY = "kuhy0284hflskjhg01284"
    #DEBUG = True