Initial commit: site monorepo with API, web, and infra.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
влад
2026-07-16 10:11:54 +03:00
co-authored by Cursor
commit 016910ffb7
447 changed files with 73972 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
from __future__ import annotations
import sys
from pathlib import Path
ROOT = Path(__file__).resolve().parents[1]
if str(ROOT) not in sys.path:
sys.path.insert(0, str(ROOT))
from app.core.install_secrets import ensure_install_secrets
def main() -> None:
status = ensure_install_secrets()
if status.created:
print(f"Created install secrets at {status.path}")
print(
"\nIf docker compose was already started without install.env, reset the Postgres volume "
"before the next start (local dev only — deletes DB data):\n"
" docker compose --profile docker-web down -v\n"
" docker compose --profile docker-web up -d --build"
)
else:
print(f"Install secrets already exist at {status.path}")
if __name__ == "__main__":
main()