Initial commit

This commit is contained in:
2026-07-01 01:07:25 +02:00
commit b8c7eaddbf
33 changed files with 2876 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
import os
import uvicorn
from zangramru.settings import settings
def main() -> None:
"""Entrypoint of the application."""
os.environ["PICCOLO_CONF"] = "zangramru.piccolo_conf"
uvicorn.run(
"zangramru.web.application:get_app",
workers=settings.workers_count,
host=settings.host,
port=settings.port,
reload=settings.reload,
log_level=settings.log_level.value.lower(),
access_log=True,
factory=True,
)
if __name__ == "__main__":
main()