Some checks failed
Build & Push Docker / build (push) Has been cancelled
- Nový modul scenar/core.py (491 řádků čisté logiky)
- Refactored cgi-bin/scenar.py (450 řádků CGI wrapper)
- Inline editor s JavaScript row managementem
- Custom exceptions (ScenarsError, ValidationError, TemplateError)
- Kompletní test coverage (10 testů, všechny ✅)
- Fixed Dockerfile (COPY scenar/, requirements.txt)
- Fixed requirements.txt (openpyxl==3.1.5)
- Fixed pytest.ini (pythonpath = .)
- Nové testy: test_http_inline.py, test_inline_builder.py
- HTTP testy označeny jako @pytest.mark.integration
- Build script: scripts/build_image.sh
- Dokumentace: COMPLETION.md
9 lines
243 B
Bash
Executable File
9 lines
243 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -eu
|
|
# Usage: ./scripts/stop_scenar.sh [container_name]
|
|
NAME=${1:-scenar-creator}
|
|
|
|
echo "Stopping and removing container '$NAME'..."
|
|
podman rm -f "$NAME" >/dev/null 2>&1 || true
|
|
echo "Container removed (if it existed)."
|