runledger-cli 0.1.4__tar.gz → 0.1.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {runledger_cli-0.1.4 → runledger_cli-0.1.5}/PKG-INFO +1 -1
- {runledger_cli-0.1.4 → runledger_cli-0.1.5}/cli/ledger.py +3 -3
- {runledger_cli-0.1.4 → runledger_cli-0.1.5}/pyproject.toml +1 -1
- {runledger_cli-0.1.4 → runledger_cli-0.1.5}/runledger_cli.egg-info/PKG-INFO +1 -1
- {runledger_cli-0.1.4 → runledger_cli-0.1.5}/README.md +0 -0
- {runledger_cli-0.1.4 → runledger_cli-0.1.5}/cli/__init__.py +0 -0
- {runledger_cli-0.1.4 → runledger_cli-0.1.5}/cli/docker-compose.yml +0 -0
- {runledger_cli-0.1.4 → runledger_cli-0.1.5}/cli/guided.py +0 -0
- {runledger_cli-0.1.4 → runledger_cli-0.1.5}/cli/tests/__init__.py +0 -0
- {runledger_cli-0.1.4 → runledger_cli-0.1.5}/cli/tests/test_data_features.py +0 -0
- {runledger_cli-0.1.4 → runledger_cli-0.1.5}/cli/tests/test_integration.py +0 -0
- {runledger_cli-0.1.4 → runledger_cli-0.1.5}/cli/tests/test_ledger.py +0 -0
- {runledger_cli-0.1.4 → runledger_cli-0.1.5}/cli/tests/test_real_results.py +0 -0
- {runledger_cli-0.1.4 → runledger_cli-0.1.5}/runledger_cli.egg-info/SOURCES.txt +0 -0
- {runledger_cli-0.1.4 → runledger_cli-0.1.5}/runledger_cli.egg-info/dependency_links.txt +0 -0
- {runledger_cli-0.1.4 → runledger_cli-0.1.5}/runledger_cli.egg-info/entry_points.txt +0 -0
- {runledger_cli-0.1.4 → runledger_cli-0.1.5}/runledger_cli.egg-info/requires.txt +0 -0
- {runledger_cli-0.1.4 → runledger_cli-0.1.5}/runledger_cli.egg-info/top_level.txt +0 -0
- {runledger_cli-0.1.4 → runledger_cli-0.1.5}/setup.cfg +0 -0
|
@@ -59,7 +59,7 @@ console = Console()
|
|
|
59
59
|
# Helpers
|
|
60
60
|
# ------------------------------------------------------------
|
|
61
61
|
def check_docker():
|
|
62
|
-
result = subprocess.run("docker version",
|
|
62
|
+
result = subprocess.run(["docker", "version"],
|
|
63
63
|
capture_output=True, text=True)
|
|
64
64
|
if result.returncode != 0:
|
|
65
65
|
console.print("[bold red]Docker is not installed or not reachable.[/bold red]")
|
|
@@ -94,7 +94,7 @@ def start_backend():
|
|
|
94
94
|
console.print("Starting RunLedger backend...")
|
|
95
95
|
subprocess.run(
|
|
96
96
|
["docker", "compose", "-f", compose_file, "-p", "runledger", "up", "-d"],
|
|
97
|
-
|
|
97
|
+
check=True
|
|
98
98
|
)
|
|
99
99
|
if wait_for_backend():
|
|
100
100
|
console.print("[green]RunLedger backend is running.[/green]")
|
|
@@ -107,7 +107,7 @@ def stop_backend():
|
|
|
107
107
|
if os.path.exists(compose_file):
|
|
108
108
|
subprocess.run(
|
|
109
109
|
["docker", "compose", "-f", compose_file, "-p", "runledger", "down"],
|
|
110
|
-
|
|
110
|
+
check=True
|
|
111
111
|
)
|
|
112
112
|
console.print("RunLedger backend stopped.")
|
|
113
113
|
else:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|