19 lines
517 B
Python
19 lines
517 B
Python
import os
|
|
|
|
basedir = os.path.abspath(os.path.dirname(__file__) + "/..")
|
|
|
|
class Config():
|
|
|
|
# Set up the App SECRET_KEY
|
|
SECRET_KEY = 'XhR*rJN*EGpyPMUwYd4nNPQP72vbaG'
|
|
|
|
# This will create a file in <app> FOLDER
|
|
SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(os.environ.get("HASSCALL_DATA_FOLDER", basedir), 'hasscall.sqlite3')
|
|
SQLALCHEMY_TRACK_MODIFICATIONS = False
|
|
|
|
class Defaults():
|
|
feedback_level = 'some'
|
|
|
|
login_enabled = 'true'
|
|
username = 'admin'
|
|
password = 'hasscall' |