Initial commit: Ebook Translation System with Docker setup

This commit is contained in:
richardtekula
2025-11-11 16:01:34 +01:00
commit e1b95c613d
43 changed files with 13922 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
from fastapi.templating import Jinja2Templates
import os
BASE_DIR = os.path.dirname(__file__)
PARENT_DIR = os.path.abspath(os.path.join(BASE_DIR, "..", ".."))
TEMPLATE_DIR = os.path.join(PARENT_DIR, "admin-frontend")
templates = Jinja2Templates(directory=TEMPLATE_DIR)