rename project

This commit is contained in:
Jörn-Michael Miehe 2022-08-31 18:26:07 +00:00
parent 0db71d0ecd
commit c65aba82a4
9 changed files with 13 additions and 13 deletions

View file

@ -8,7 +8,7 @@
"name": "Main Module",
"type": "python",
"request": "launch",
"module": "ovkiosk.main",
"module": "ovdashboard_api.main",
"justMyCode": true
}
]

View file

@ -24,12 +24,12 @@ class Settings(BaseSettings):
redoc_url: Optional[str] = "/redoc"
caldav_base_url: str = "/remote.php/dav"
webdav_base_url: str = "/remote.php/webdav/ovkiosk"
webdav_base_url: str = "/remote.php/webdav/ovdashboard"
dav_protocol: str = "https"
dav_host: str = "example.com"
dav_username: str = "ovkiosk"
dav_username: str = "ovdashboard"
dav_password: str = "changeme"
dav_path: str = "ovkiosk"
dav_path: str = "ovdashboard"
ticker_separator: str = " +++ "

View file

@ -1,7 +1,7 @@
#!/usr/bin/env python3
"""
Main executable of `ovkiosk`.
Main executable of `ovdashboard_api`.
Creates the main `FastAPI` app.
@ -15,8 +15,8 @@ from .config import SETTINGS
from .routers import main_router
app = FastAPI(
title="OVKiosk API",
description="This API enables the `OVKiosk` service.",
title="OVDashboard API",
description="This API enables the `OVDashboard` service.",
contact={
"name": "Jörn-Michael Miehe",
"email": "jmm@yavook.de",
@ -31,7 +31,7 @@ app.include_router(main_router)
def main() -> None:
uvicorn.run(
app="ovkiosk.main:app",
app="ovdashboard_api.main:app",
host="0.0.0.0",
port=8000,
reload=True,

View file

@ -1,19 +1,19 @@
[tool.poetry]
authors = ["Jörn-Michael Miehe <jmm@yavook.de>"]
description = ""
name = "ovkiosk"
name = "ovdashboard-api"
version = "0.1.0"
[tool.poetry.dependencies]
APScheduler = "^3.9.1"
Markdown = "^3.4.1"
Pillow = "^9.2.0"
async-lru = "^1.0.3"
fastapi = "^0.81.0"
pydantic = {extras = ["dotenv"], version = "^1.9.2"}
python = "^3.9"
uvicorn = "^0.18.3"
webdavclient3 = "3.14.5"
Markdown = "^3.4.1"
APScheduler = "^3.9.1"
Pillow = "^9.2.0"
async-lru = "^1.0.3"
[tool.poetry.dev-dependencies]
# pytest = "^5.2"