Simplify build.sh and update run.sh for self-contained execution
- Simplified build.sh to just build in release mode with warning suppression - Updated run.sh to build first, then start supervisor and admin UI together - Run script now starts both supervisor API and admin UI in background - Added proper cleanup handler for graceful shutdown - Removed admin UI compilation errors by fixing JsValue handling - Added list_jobs method to WASM client for admin UI compatibility
This commit is contained in:
19
Cargo.lock
generated
19
Cargo.lock
generated
@@ -596,14 +596,27 @@ dependencies = [
|
||||
"chrono",
|
||||
"hex",
|
||||
"log",
|
||||
"redis",
|
||||
"secp256k1 0.28.2",
|
||||
"serde",
|
||||
"serde-wasm-bindgen",
|
||||
"serde_json",
|
||||
"sha2",
|
||||
"thiserror",
|
||||
"tokio",
|
||||
"uuid",
|
||||
"wasm-bindgen",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "hero-job-client"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"chrono",
|
||||
"hero-job",
|
||||
"log",
|
||||
"redis",
|
||||
"serde_json",
|
||||
"thiserror",
|
||||
"tokio",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -618,6 +631,7 @@ dependencies = [
|
||||
"env_logger 0.10.2",
|
||||
"escargot",
|
||||
"hero-job",
|
||||
"hero-job-client",
|
||||
"hero-supervisor-openrpc-client",
|
||||
"hyper",
|
||||
"hyper-util",
|
||||
@@ -646,6 +660,7 @@ dependencies = [
|
||||
"env_logger 0.11.8",
|
||||
"getrandom 0.2.16",
|
||||
"hero-job",
|
||||
"hero-job-client",
|
||||
"hero-supervisor",
|
||||
"hex",
|
||||
"indexmap",
|
||||
|
||||
Reference in New Issue
Block a user