master > master: README

This commit is contained in:
RD 2021-10-29 15:24:04 +02:00
parent 699a5f6fa4
commit 196704d7bb
1 changed files with 8 additions and 3 deletions

View File

@ -54,8 +54,15 @@ Alternativ verwende man `python3 -m pip install --upgrade {name}` bzw. `py -3 ..
Um den Python Code auszuführen, bspw. im Bash:
```bash
## Anzeigen der Hilfsanleitung:
python3 code/main.py -h; # linux, OSX
py -3 code/main.py -h; # Windows
## Ausführung der Testfälle in code/config.yml:
python3 code/main.py all; # linux, OSX
py -3 code/main.py all; # Windows
py -3 code/main.py all; # Windows
## Mit Infos über Schritte:
python3 code/main.py --debug all; # linux, OSX
py -3 code/main.py --debug all; # Windows
```
Oder man erstelle einen bash Skript wie `run.sh`, trage die Befehle da ein und führe
```bash
@ -63,5 +70,3 @@ chmod +x run.sh; # nur einmalig nötig
./run.sh
```
aus.
Der Befehl `[python3 | py -3] code/main.py -h` zeigt die Gebrauchsanleitung an.