Added more instructions
This commit is contained in:
@@ -7,6 +7,10 @@ Enthält einen in Python geschriebenen Alpine Bits Server zur Übertragung von B
|
|||||||
|
|
||||||
Auf dem Entwicklungsystem muss git und der uv python package manager installiert sein.
|
Auf dem Entwicklungsystem muss git und der uv python package manager installiert sein.
|
||||||
|
|
||||||
|
### Git Authentification
|
||||||
|
|
||||||
|
Wenn über http geklont wird muss lokal der [git-credential-oauth](https://github.com/hickford/git-credential-oauth) helper installiert sein. Besser gehts über ssh. Da muss ein ssh-key in gitea für den eigenen Benutzer angelegt sein.
|
||||||
|
|
||||||
1. Repo klonen.
|
1. Repo klonen.
|
||||||
2. `uv sync` ausführen
|
2. `uv sync` ausführen
|
||||||
3. `uv run python -m alpine_bits_python.run_api` führt die API lokal auf Port 8080 aus. Datenbank wird automatisch erstellt und bei jedem start geleert.
|
3. `uv run python -m alpine_bits_python.run_api` führt die API lokal auf Port 8080 aus. Datenbank wird automatisch erstellt und bei jedem start geleert.
|
||||||
|
|||||||
Reference in New Issue
Block a user