2020-03-18 10:59:37 +01:00
|
|
|
import os
|
|
|
|
|
|
|
|
basepath = os.path.dirname(os.path.realpath(__file__))
|
|
|
|
|
|
|
|
DATA_DIR = os.path.join(basepath, "data")
|
|
|
|
DATABASE_FILE = os.path.join(DATA_DIR, "db.sqlite")
|
|
|
|
SQLALCHEMY_DATABASE_URI = 'sqlite:///{}'.format(DATABASE_FILE)
|
2020-03-18 12:32:40 +01:00
|
|
|
TEMPLATES_FOLDER = os.path.join(basepath, "webapp", "templates")
|
2020-03-18 10:59:37 +01:00
|
|
|
MAKEDIRS = [
|
|
|
|
DATA_DIR,
|
2020-03-18 12:32:40 +01:00
|
|
|
]
|