chat-ui not functional yet but builds

This commit is contained in:
geoffsee
2025-08-31 18:18:56 -04:00
parent 38d51722f2
commit 2b4a8a9df8
27 changed files with 278 additions and 742 deletions

17
scripts/run.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/bin/bash
set -e
# Resolve the project root (script_dir/..)
PROJECT_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
# todo, conditionally run this only when those files change
"$PROJECT_ROOT/scripts/build_ui.sh"
# build the frontend first
# Start the unified predict-otron-9000 server on port 8080
export SERVER_PORT=${SERVER_PORT:-8080}
export RUST_LOG=${RUST_LOG:-info}
cd "$PROJECT_ROOT" || exit 1
cargo run --bin predict-otron-9000 --release