refactor: rename project to gallery

This commit is contained in:
2024-08-11 20:46:04 +03:00
parent 3785b8ce5d
commit 72fd378c40
48 changed files with 117 additions and 92 deletions
+19
View File
@@ -0,0 +1,19 @@
from os import environ
from pathlib import Path
import uvicorn
from gallery.easel import build_app
from gallery.painting.gismeteo.api import GismeteoApi
app = build_app(GismeteoApi())
def run():
uvicorn.run(
"gallery.main:app",
host="0.0.0.0",
port=8000,
log_config=str(Path(__file__).parent / "logging.yaml"),
reload="DEBUG" in environ,
)