mirror of
https://github.com/skoelle/mvg-departures.git
synced 2026-09-18 10:50:26 +00:00
Compare commits
3
Commits
f413cabfc0
...
1c3ea8fb87
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1c3ea8fb87 | ||
|
|
85a95a1aa4 | ||
|
|
c8b8f4031d |
@@ -15,6 +15,7 @@ MVG Departures Monitor: FastAPI-App für Münchner U-/S-Bahn-Abfahrtsanzeige. Mo
|
|||||||
| `requirements.txt` | Python-Dependencies |
|
| `requirements.txt` | Python-Dependencies |
|
||||||
| `Dockerfile` | Container-Build |
|
| `Dockerfile` | Container-Build |
|
||||||
| `.github/workflows/build.yml` | CI/CD |
|
| `.github/workflows/build.yml` | CI/CD |
|
||||||
|
| `LICENSE` | MIT-Lizenz |
|
||||||
|
|
||||||
## Code-Conventions
|
## Code-Conventions
|
||||||
|
|
||||||
@@ -24,6 +25,7 @@ MVG Departures Monitor: FastAPI-App für Münchner U-/S-Bahn-Abfahrtsanzeige. Mo
|
|||||||
- **Logging**: `logging.getLogger("mvg-departures")`
|
- **Logging**: `logging.getLogger("mvg-departures")`
|
||||||
- **Naming**: snake_case (Python), camelCase (HTML/CSS-Klassen)
|
- **Naming**: snake_case (Python), camelCase (HTML/CSS-Klassen)
|
||||||
- **Keine Comments**: Nur wenn explizit angefordert
|
- **Keine Comments**: Nur wenn explizit angefordert
|
||||||
|
- **Lizenz**: MIT — Copyright-Header in allen Quelldateien (`# Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) - MIT License`), HTML-Kommentar im Template
|
||||||
|
|
||||||
## Entwicklung
|
## Entwicklung
|
||||||
|
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|||||||
|
|
||||||
COPY app ./app
|
COPY app ./app
|
||||||
COPY config.yaml ./config.yaml
|
COPY config.yaml ./config.yaml
|
||||||
|
COPY LICENSE ./LICENSE
|
||||||
|
|
||||||
ENV CONFIG_PATH=/app/config.yaml
|
ENV CONFIG_PATH=/app/config.yaml
|
||||||
ENV TZ=Europe/Berlin
|
ENV TZ=Europe/Berlin
|
||||||
|
|||||||
@@ -0,0 +1,21 @@
|
|||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de)
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
@@ -149,3 +149,7 @@ mvg-departures/
|
|||||||
- Keine Datenbank (nur In-Memory)
|
- Keine Datenbank (nur In-Memory)
|
||||||
- Kein Test-Framework vorhanden
|
- Kein Test-Framework vorhanden
|
||||||
- Ein `config.yaml` pro Deployment (kein Multi-Tenancy)
|
- Ein `config.yaml` pro Deployment (kein Multi-Tenancy)
|
||||||
|
|
||||||
|
## Lizenz
|
||||||
|
|
||||||
|
MIT License - Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de)
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
# Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) - MIT License
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
# Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) - MIT License
|
||||||
"""Config-Loader für die Stationsliste aus config.yaml."""
|
"""Config-Loader für die Stationsliste aus config.yaml."""
|
||||||
import os
|
import os
|
||||||
import yaml
|
import yaml
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
# Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) - MIT License
|
||||||
"""MVG Departures Monitor - FastAPI App."""
|
"""MVG Departures Monitor - FastAPI App."""
|
||||||
import time
|
import time
|
||||||
import logging
|
import logging
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
<!-- Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) - MIT License -->
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="de">
|
<html lang="de">
|
||||||
<head>
|
<head>
|
||||||
|
|||||||
Reference in New Issue
Block a user