rename project
This commit is contained in:
parent
0db71d0ecd
commit
c65aba82a4
9 changed files with 13 additions and 13 deletions
2
api/.vscode/launch.json
vendored
2
api/.vscode/launch.json
vendored
|
@ -8,7 +8,7 @@
|
||||||
"name": "Main Module",
|
"name": "Main Module",
|
||||||
"type": "python",
|
"type": "python",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"module": "ovkiosk.main",
|
"module": "ovdashboard_api.main",
|
||||||
"justMyCode": true
|
"justMyCode": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -24,12 +24,12 @@ class Settings(BaseSettings):
|
||||||
redoc_url: Optional[str] = "/redoc"
|
redoc_url: Optional[str] = "/redoc"
|
||||||
|
|
||||||
caldav_base_url: str = "/remote.php/dav"
|
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_protocol: str = "https"
|
||||||
dav_host: str = "example.com"
|
dav_host: str = "example.com"
|
||||||
dav_username: str = "ovkiosk"
|
dav_username: str = "ovdashboard"
|
||||||
dav_password: str = "changeme"
|
dav_password: str = "changeme"
|
||||||
dav_path: str = "ovkiosk"
|
dav_path: str = "ovdashboard"
|
||||||
|
|
||||||
ticker_separator: str = " +++ "
|
ticker_separator: str = " +++ "
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Main executable of `ovkiosk`.
|
Main executable of `ovdashboard_api`.
|
||||||
|
|
||||||
Creates the main `FastAPI` app.
|
Creates the main `FastAPI` app.
|
||||||
|
|
||||||
|
@ -15,8 +15,8 @@ from .config import SETTINGS
|
||||||
from .routers import main_router
|
from .routers import main_router
|
||||||
|
|
||||||
app = FastAPI(
|
app = FastAPI(
|
||||||
title="OVKiosk API",
|
title="OVDashboard API",
|
||||||
description="This API enables the `OVKiosk` service.",
|
description="This API enables the `OVDashboard` service.",
|
||||||
contact={
|
contact={
|
||||||
"name": "Jörn-Michael Miehe",
|
"name": "Jörn-Michael Miehe",
|
||||||
"email": "jmm@yavook.de",
|
"email": "jmm@yavook.de",
|
||||||
|
@ -31,7 +31,7 @@ app.include_router(main_router)
|
||||||
|
|
||||||
def main() -> None:
|
def main() -> None:
|
||||||
uvicorn.run(
|
uvicorn.run(
|
||||||
app="ovkiosk.main:app",
|
app="ovdashboard_api.main:app",
|
||||||
host="0.0.0.0",
|
host="0.0.0.0",
|
||||||
port=8000,
|
port=8000,
|
||||||
reload=True,
|
reload=True,
|
|
@ -1,19 +1,19 @@
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
authors = ["Jörn-Michael Miehe <jmm@yavook.de>"]
|
authors = ["Jörn-Michael Miehe <jmm@yavook.de>"]
|
||||||
description = ""
|
description = ""
|
||||||
name = "ovkiosk"
|
name = "ovdashboard-api"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
|
||||||
[tool.poetry.dependencies]
|
[tool.poetry.dependencies]
|
||||||
|
APScheduler = "^3.9.1"
|
||||||
|
Markdown = "^3.4.1"
|
||||||
|
Pillow = "^9.2.0"
|
||||||
|
async-lru = "^1.0.3"
|
||||||
fastapi = "^0.81.0"
|
fastapi = "^0.81.0"
|
||||||
pydantic = {extras = ["dotenv"], version = "^1.9.2"}
|
pydantic = {extras = ["dotenv"], version = "^1.9.2"}
|
||||||
python = "^3.9"
|
python = "^3.9"
|
||||||
uvicorn = "^0.18.3"
|
uvicorn = "^0.18.3"
|
||||||
webdavclient3 = "3.14.5"
|
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]
|
[tool.poetry.dev-dependencies]
|
||||||
# pytest = "^5.2"
|
# pytest = "^5.2"
|
||||||
|
|
Loading…
Reference in a new issue