23 lines
578 B
Python
23 lines
578 B
Python
import os
|
|
from dotenv import load_dotenv
|
|
|
|
from pathlib import Path
|
|
from fuware import __version__
|
|
|
|
load_dotenv()
|
|
|
|
APP_VERSION = __version__
|
|
CWD = Path(__file__).parent
|
|
BASE_DIR = CWD.parent.parent.parent
|
|
|
|
SERCET_KEY = b"oWNhXlfo666JlMHk6UHYxeNB6z_CA2MisDDZJe4N0yc="
|
|
COOKIE_KEY = os.getenv('VITE_LOGIN_KEY') or '7fo24CMyIc'
|
|
# URL_DATABASE = "postgresql://{0}:{1}@{2}:{3}/{4}".format(
|
|
# os.getenv('LOL_DB_USER'),
|
|
# os.getenv('LOL_DB_PASSWORD'),
|
|
# os.getenv('LOL_DB_HOST'),
|
|
# os.getenv('LOL_DB_PORT'),
|
|
# os.getenv('LOL_DB_NAME'),
|
|
# )
|
|
URL_DATABASE = "sqlite:///./test.db"
|