chore: initial import

This commit is contained in:
2026-07-24 21:37:03 +02:00
commit 9b5425851a
28 changed files with 4020 additions and 0 deletions
Executable
+28
View File
@@ -0,0 +1,28 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Startet die boehmitools-Suite.
python run.py # Standard-Port 8080
PORT=9090 python run.py # anderer Port
Für die Entwicklung mit Neuladen:
uvicorn core.app:app --reload
"""
import os
import sys
from pathlib import Path
BASE_DIR = Path(__file__).resolve().parent
sys.path.insert(0, str(BASE_DIR))
if __name__ == "__main__":
import uvicorn
port = int(os.environ.get("PORT", "8080"))
host = os.environ.get("HOST", "0.0.0.0")
print("=" * 64)
print(" boehmitools")
print(f" Im Browser öffnen: http://<server-ip>:{port}")
print("=" * 64)
uvicorn.run("core.app:app", host=host, port=port, log_level="info")