13 行
317 B
Python
13 行
317 B
Python
# fluent-learn backend
|
|
from __future__ import annotations
|
|
|
|
import logging
|
|
|
|
from app.core.config import settings
|
|
from app.core.db import init_db
|
|
|
|
logging.basicConfig(level=logging.INFO, format="%(asctime)s %(name)s %(levelname)s %(message)s")
|
|
logger = logging.getLogger("fluent-learn")
|
|
|
|
init_db(settings.database_url)
|