feat(storage): add native PostgreSQL runtime and verified offline application import
Build and publish container images / images (push) Failing after 12m29s

This commit is contained in:
Anya Tokugawa committed 2026-11-15 05:47:14 +09:00
1 parent 96065d1e89
commit 0ba1dcfef0
243 files changed
+21441 -3090

No files matched your search

+3
View File
@@ -312,6 +312,9 @@ class PagesWikiCLI:
)
def __init__(self) -> None:
backend = os.environ.get("PAGESWIKI_DB_BACKEND", "sqlite").strip().lower() or "sqlite"
if backend != "sqlite":
raise CLIError("Local data CLI requires SQLite; use the HTTP pages-cli for PostgreSQL")
script_dir = Path(__file__).resolve().parent
self.data_dir = Path(
os.environ.get("PAGESWIKI_DATA_DIR", script_dir)