mirror of
https://github.com/mwisnowski/mtg_python_deckbuilder.git
synced 2025-12-24 11:30:12 +01:00
feat(owned-cards): add owned-only workflow, multi-file parsing, and recommendations export\n\n- Prompt to use only owned cards (gated by presence of lists)\n- Support .txt/.csv owned lists, multi-select; commander exempt\n- Owned-only filtering + add guard; recommendations CSV/TXT when incomplete\n- CSV Owned column when not owned-only\n- Docs and Docker updated (owned_cards + config mounts)\n- CI: Windows EXE on tag; Docker Hub tag fix (no major.minor)\n- Changelog added; RELEASE_NOTES.md ignored
This commit is contained in:
parent
5f922835a6
commit
acfb29cafb
16 changed files with 480 additions and 261 deletions
|
|
@ -36,6 +36,8 @@ docker run -it --rm `
|
|||
-v "${PWD}/deck_files:/app/deck_files" `
|
||||
-v "${PWD}/logs:/app/logs" `
|
||||
-v "${PWD}/csv_files:/app/csv_files" `
|
||||
-v "${PWD}/owned_cards:/app/owned_cards" `
|
||||
-v "${PWD}/config:/app/config" `
|
||||
mwisnowski/mtg-python-deckbuilder:latest
|
||||
```
|
||||
|
||||
|
|
@ -50,6 +52,8 @@ docker run -it --rm ^
|
|||
-v "%cd%\deck_files:/app/deck_files" ^
|
||||
-v "%cd%\logs:/app/logs" ^
|
||||
-v "%cd%\csv_files:/app/csv_files" ^
|
||||
-v "%cd%\owned_cards:/app/owned_cards" ^
|
||||
-v "%cd%\config:/app/config" ^
|
||||
mwisnowski/mtg-python-deckbuilder:latest
|
||||
```
|
||||
|
||||
|
|
@ -69,7 +73,9 @@ Create these folders on your computer:
|
|||
C:\mtg-decks\
|
||||
├── deck_files\
|
||||
├── logs\
|
||||
└── csv_files\
|
||||
├── csv_files\
|
||||
└── owned_cards\
|
||||
└── config\
|
||||
```
|
||||
|
||||
### Step 3: Run Container
|
||||
|
|
@ -145,24 +151,3 @@ C:\mtg-decks\
|
|||
├── deck_files\ # Your completed decks (.csv and .txt files)
|
||||
│ ├── Atraxa_Superfriends_20250821.csv
|
||||
│ ├── Atraxa_Superfriends_20250821.txt
|
||||
# Windows Quick Start (Docker)
|
||||
|
||||
Prerequisite: Docker Desktop running.
|
||||
|
||||
## Run (one command)
|
||||
```powershell
|
||||
$base = "C:\mtg-decks"; New-Item -ItemType Directory -Force -Path "$base\deck_files","$base\logs","$base\csv_files" | Out-Null; docker run -it --rm -v "$base\deck_files:/app/deck_files" -v "$base\logs:/app/logs" -v "$base\csv_files:/app/csv_files" mwisnowski/mtg-python-deckbuilder:latest
|
||||
```
|
||||
|
||||
Files saved to:
|
||||
- Decks: C:\mtg-decks\deck_files
|
||||
- Logs: C:\mtg-decks\logs
|
||||
- Card data: C:\mtg-decks\csv_files
|
||||
-v "${baseDir}\logs:/app/logs" `
|
||||
-v "${baseDir}\csv_files:/app/csv_files" `
|
||||
mwisnowski/mtg-python-deckbuilder:latest
|
||||
|
||||
Write-Host "Session ended. Files saved in: $baseDir" -ForegroundColor Green
|
||||
```
|
||||
|
||||
Then run with: `powershell -ExecutionPolicy Bypass -File setup-mtg-deckbuilder.ps1`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue