Add full monorepo: virtual-banker, backend, frontend, docs, scripts, deployment

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
defiQUG
2026-02-10 11:32:49 -08:00
parent aafcd913c2
commit 88bc76da91
815 changed files with 125522 additions and 264 deletions

26
scripts/serve-explorer-local.sh Executable file
View File

@@ -0,0 +1,26 @@
#!/bin/bash
# Simple local server for explorer (fallback option)
# Usage: ./serve-explorer-local.sh [port]
PORT=${1:-8080}
FRONTEND_DIR="$(cd "$(dirname "$0")/../frontend/public" && pwd)"
if [ ! -f "$FRONTEND_DIR/index.html" ]; then
echo "❌ Frontend not found at: $FRONTEND_DIR/index.html"
exit 1
fi
echo "Serving explorer on http://localhost:$PORT"
echo "Frontend: $FRONTEND_DIR"
cd "$FRONTEND_DIR"
# Try Python 3 first, then Python 2
if command -v python3 >/dev/null 2>&1; then
python3 -m http.server "$PORT"
elif command -v python >/dev/null 2>&1; then
python -m SimpleHTTPServer "$PORT"
else
echo "❌ Python not found. Install Python to use this script."
exit 1
fi