Explorar el Código

Projektdaten angepasst

gc-server3 hace 1 semana
padre
commit
535c49e3f1
Se han modificado 3 ficheros con 92 adiciones y 65 borrados
  1. 49 22
      README.md
  2. 2 2
      pyproject.toml
  3. 41 41
      uv.lock

+ 49 - 22
README.md

@@ -1,32 +1,59 @@
-# GCOutline - Minimal prototype
+# Reisacher Forderungsmanagement 2.0
 
-Quickstart (local development):
+## Installation
 
-1. Create a virtual environment and install dependencies:
+Zunächst muss `uv`, der Python-Paketmanager, installiert werden:
 
-    ```powershell
-    python -m venv .venv
-    .\.venv\Scripts\Activate.ps1
-    pip install -e .
-    pip install -r <(python -c "import tomllib,sys;print('\n'.join([]))")
-    ```
+```cmd
+powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
+```
 
-    Alternatively install directly:
+Im Anschluss git-Repository klonen (am Beispiel von Ordner `C:\Projekte` - im Grunde beliebig):
 
-    ```powershell
-    pip install fastapi uvicorn Jinja2 SQLAlchemy alembic ldap3 python-docx openpyxl pandas python-multipart pyodbc aiofiles
-    ```
+```cmd
+cd C:\Projekte
+git clone https://git.global-cube.com/GlobalCube/Reisacher-Forderung.git
+```
 
-2. Run the app:
+Git erstellt einen Unterordner `C:\Projekte\Reisacher-Forderung`, in dem das gesamte Projekt abgelegt ist.
+Jetzt müssen alle Requirements erfüllt werden: passende Python-Version, benötigte Module mit entsprechenden Abhängigkeiten.
+Das übernimmt `uv`
 
-    ```powershell
-    uvicorn app.main:app --reload
-    ```
+## Konfiguration
 
-3. Open <http://127.0.0.1:8000> in your browser.
+```cmd
+cd C:\Projekte\Reisacher-Forderung
+uv sync
+echo DATABASE_URL=mssql+pyodbc://user:pass@server:port/database?driver=SQL+Server+Native+Client+11.0 > .env
+```
 
-    Notes:
+Dann muss noch die Datenbankanbindung definiert werden. Dazu muss die Datei `.env` bearbeitet werden und die Platzhalter mit der tatsächlichen Datenbank-Anmeldung eingetragen werden.
 
-    - The project uses SQLite by default for local development (`DATABASE_URL` env var can point to MS SQL Server).
-    - LDAP authentication will fall back to a local mock where the password `password` is accepted for any username.
-    - Exports are available on the list and detail pages.
+Danach kann der Webserver gestartet werden:
+
+```cmd
+.venv\Scripts\activate.bat
+uvicorn app.main:app --reload --host 0.0.0.0 
+```
+
+Die Konsole meldet dann Folgendes:
+
+```txt
+(Reisacher-Forderung) PS C:\Projekte\Reisacher-Forderung> uvicorn app.main:app --reload --host 0.0.0.0                                
+INFO:     Will watch for changes in these directories: ['C:\\Projekte\\Reisacher-Forderung']
+INFO:     Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
+INFO:     Started reloader process [41364] using WatchFiles
+INFO:     Started server process [23216]
+INFO:     Waiting for application startup.
+INFO:     Application startup complete.
+```
+
+Das Repository ist nun bereit für die Nutzung.
+
+## Nutzung
+
+Öffne <http://127.0.0.1:8000> im Browser.
+
+## Deployment
+
+TODO

+ 2 - 2
pyproject.toml

@@ -1,7 +1,7 @@
 [project]
-name = "appsmith-nachbau"
+name = "reisacher-forderung"
 version = "0.1.0"
-description = "Add your description here"
+description = "Reisacher Forderungsmanagement 2.0"
 readme = "README.md"
 requires-python = ">=3.13"
 dependencies = [

+ 41 - 41
uv.lock

@@ -63,47 +63,6 @@ wheels = [
     { url = "https://files.pythonhosted.org/packages/da/42/e921fccf5015463e32a3cf6ee7f980a6ed0f395ceeaa45060b61d86486c2/anyio-4.13.0-py3-none-any.whl", hash = "sha256:08b310f9e24a9594186fd75b4f73f4a4152069e3853f1ed8bfbf58369f4ad708", size = 114353, upload-time = "2026-03-24T12:59:08.246Z" },
 ]
 
-[[package]]
-name = "appsmith-nachbau"
-version = "0.1.0"
-source = { virtual = "." }
-dependencies = [
-    { name = "aiofiles" },
-    { name = "alembic" },
-    { name = "docxtpl" },
-    { name = "fastapi", extra = ["standard"] },
-    { name = "imap-tools" },
-    { name = "jinja2" },
-    { name = "ldap3" },
-    { name = "openpyxl" },
-    { name = "pandas" },
-    { name = "pyodbc" },
-    { name = "python-docx" },
-    { name = "python-dotenv" },
-    { name = "python-multipart" },
-    { name = "sqlalchemy" },
-    { name = "uvicorn", extra = ["standard"] },
-]
-
-[package.metadata]
-requires-dist = [
-    { name = "aiofiles", specifier = ">=23.1" },
-    { name = "alembic", specifier = ">=1.11" },
-    { name = "docxtpl", specifier = ">=0.20.2" },
-    { name = "fastapi", extras = ["standard"], specifier = ">=0.95" },
-    { name = "imap-tools", specifier = ">=1.12.1" },
-    { name = "jinja2", specifier = ">=3.1" },
-    { name = "ldap3", specifier = ">=2.9" },
-    { name = "openpyxl", specifier = ">=3.1" },
-    { name = "pandas", specifier = ">=2.0" },
-    { name = "pyodbc", specifier = ">=4.0" },
-    { name = "python-docx", specifier = ">=0.8" },
-    { name = "python-dotenv", specifier = ">=1.2.1" },
-    { name = "python-multipart", specifier = ">=0.0.6" },
-    { name = "sqlalchemy", specifier = ">=2.0" },
-    { name = "uvicorn", extras = ["standard"], specifier = ">=0.22" },
-]
-
 [[package]]
 name = "certifi"
 version = "2026.2.25"
@@ -919,6 +878,47 @@ wheels = [
     { url = "https://files.pythonhosted.org/packages/f1/12/de94a39c2ef588c7e6455cfbe7343d3b2dc9d6b6b2f40c4c6565744c873d/pyyaml-6.0.3-cp314-cp314t-win_arm64.whl", hash = "sha256:ebc55a14a21cb14062aa4162f906cd962b28e2e9ea38f9b4391244cd8de4ae0b", size = 149341, upload-time = "2025-09-25T21:32:56.828Z" },
 ]
 
+[[package]]
+name = "reisacher-forderung"
+version = "0.1.0"
+source = { virtual = "." }
+dependencies = [
+    { name = "aiofiles" },
+    { name = "alembic" },
+    { name = "docxtpl" },
+    { name = "fastapi", extra = ["standard"] },
+    { name = "imap-tools" },
+    { name = "jinja2" },
+    { name = "ldap3" },
+    { name = "openpyxl" },
+    { name = "pandas" },
+    { name = "pyodbc" },
+    { name = "python-docx" },
+    { name = "python-dotenv" },
+    { name = "python-multipart" },
+    { name = "sqlalchemy" },
+    { name = "uvicorn", extra = ["standard"] },
+]
+
+[package.metadata]
+requires-dist = [
+    { name = "aiofiles", specifier = ">=23.1" },
+    { name = "alembic", specifier = ">=1.11" },
+    { name = "docxtpl", specifier = ">=0.20.2" },
+    { name = "fastapi", extras = ["standard"], specifier = ">=0.95" },
+    { name = "imap-tools", specifier = ">=1.12.1" },
+    { name = "jinja2", specifier = ">=3.1" },
+    { name = "ldap3", specifier = ">=2.9" },
+    { name = "openpyxl", specifier = ">=3.1" },
+    { name = "pandas", specifier = ">=2.0" },
+    { name = "pyodbc", specifier = ">=4.0" },
+    { name = "python-docx", specifier = ">=0.8" },
+    { name = "python-dotenv", specifier = ">=1.2.1" },
+    { name = "python-multipart", specifier = ">=0.0.6" },
+    { name = "sqlalchemy", specifier = ">=2.0" },
+    { name = "uvicorn", extras = ["standard"], specifier = ">=0.22" },
+]
+
 [[package]]
 name = "rich"
 version = "14.3.3"