secubox-openwrt/secubox-tools/webui/scripts/run-dev.sh
CyberMind-FR 0d6aaa1111 feat(webui): add Project Hub workspace and remove Command Center glow effects
- Add complete Project Hub & Workspace Interface implementation
  - New data models: Project, ModuleKit, Workspace
  - 3 fixture projects (cybermind.fr, cybermood.eu, secubox-c3)
  - 4 module kits (Security, Network, Automation, Media)
  - Workspace routes with project switching and kit installation
  - 4 workspace tabs: Overview, Module Kits, Devices, Composer
  - New navigation item: Workspace (7th section)

- Remove all glowing effects from UI
  - Remove Command Center widget glow and backdrop blur
  - Remove device status indicator glow
  - Remove toggle button glow effects

- Extend DataStore with 13 new methods for workspace management
- Add 270+ lines of workspace-specific CSS with responsive layouts
- Create workspace templates and result partials

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-03 08:10:22 +01:00

38 lines
1.0 KiB
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
PROJECT_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
cd "$PROJECT_ROOT"
echo "🚀 Starting SecuBox WebUI Development Server..."
echo "📁 Project root: $PROJECT_ROOT"
echo ""
# Check if venv exists
VENV_BIN="${VENV_BIN:-.venv/bin}"
if [ ! -d ".venv" ]; then
echo "❌ Virtual environment not found. Please run:"
echo " python -m venv .venv && source .venv/bin/activate && pip install -e .[dev]"
exit 1
fi
# Source venv
source "$VENV_BIN/activate" 2>/dev/null || true
# Check if modules.json exists, if not run ingest
if [ ! -f "data/modules.json" ]; then
echo "📦 Generating module catalog from packages..."
python -m app.ingest --pretty
echo ""
fi
echo "✅ Starting server at http://127.0.0.1:8100"
echo " Press Ctrl+C to stop"
echo ""
if [[ -x "$VENV_BIN/uvicorn" ]]; then
exec "$VENV_BIN/uvicorn" app.main:app --reload --host 127.0.0.1 --port 8100 "$@"
else
exec uvicorn app.main:app --reload --host 127.0.0.1 --port 8100 "$@"
fi