mirror of
https://github.com/mwisnowski/mtg_python_deckbuilder.git
synced 2025-09-22 04:50:46 +02:00
chore(release): v1.1.2 bump, notes/template + README updates, Docker Hub description updater, headless/docs tweaks
This commit is contained in:
parent
fd2530cea3
commit
5f922835a6
13 changed files with 250 additions and 183 deletions
|
@ -6,12 +6,14 @@ REM Create directories if they don't exist
|
|||
if not exist "deck_files" mkdir deck_files
|
||||
if not exist "logs" mkdir logs
|
||||
if not exist "csv_files" mkdir csv_files
|
||||
if not exist "config" mkdir config
|
||||
|
||||
echo Starting MTG Python Deckbuilder from Docker Hub...
|
||||
echo Your files will be saved in the current directory:
|
||||
echo - deck_files\: Your completed decks
|
||||
echo - logs\: Application logs
|
||||
echo - csv_files\: Card database files
|
||||
echo - config\: JSON configs for headless runs (e.g., deck.json)
|
||||
echo.
|
||||
|
||||
REM Run the Docker container with proper volume mounts
|
||||
|
@ -19,9 +21,14 @@ 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%\config:/app/config" ^
|
||||
mwisnowski/mtg-python-deckbuilder:latest
|
||||
|
||||
echo.
|
||||
echo MTG Python Deckbuilder session ended.
|
||||
echo Your files are saved in: %cd%
|
||||
echo.
|
||||
echo Tips:
|
||||
echo - For headless: set environment variables, e.g. -e DECK_MODE=headless -e DECK_CONFIG=/app/config/deck.json
|
||||
echo - If the container seems to use an old config, mount the config folder (done above) or prune anonymous volumes.
|
||||
pause
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue