Files
dss/start-ui.sh
Digital Production Factory 276ed71f31 Initial commit: Clean DSS implementation
Migrated from design-system-swarm with fresh git history.
Old project history preserved in /home/overbits/apps/design-system-swarm

Core components:
- MCP Server (Python FastAPI with mcp 1.23.1)
- Claude Plugin (agents, commands, skills, strategies, hooks, core)
- DSS Backend (dss-mvp1 - token translation, Figma sync)
- Admin UI (Node.js/React)
- Server (Node.js/Express)
- Storybook integration (dss-mvp1/.storybook)

Self-contained configuration:
- All paths relative or use DSS_BASE_PATH=/home/overbits/dss
- PYTHONPATH configured for dss-mvp1 and dss-claude-plugin
- .env file with all configuration
- Claude plugin uses ${CLAUDE_PLUGIN_ROOT} for portability

Migration completed: $(date)
🤖 Clean migration with full functionality preserved
2025-12-09 18:45:48 -03:00

40 lines
1.1 KiB
Bash
Executable File

#!/bin/bash
# Start DSS Admin UI for testing
echo "🚀 Starting DSS Admin UI..."
echo ""
# Check if virtual environment exists
if [ ! -d ".venv" ]; then
echo "❌ Virtual environment not found. Run ./setup.sh first"
exit 1
fi
# Activate virtual environment
source .venv/bin/activate
# Check if server is already running
if lsof -Pi :3456 -sTCP:LISTEN -t >/dev/null ; then
echo "⚠️ Server already running on port 3456"
echo ""
echo "Open in browser: http://localhost:3456"
echo ""
echo "To stop: pkill -f 'python.*tools.api.server'"
exit 0
fi
# Start the server
echo "Starting FastAPI server on http://localhost:3456"
echo ""
echo "📱 Admin UI: http://localhost:3456"
echo "⚙️ Settings: http://localhost:3456/#settings (Configure Figma & Claude API)"
echo "📊 Services: http://localhost:3456/#services"
echo "⚡ Quick Wins: http://localhost:3456/#quick-wins"
echo "💬 Chat: http://localhost:3456/#chat"
echo "📚 API Docs: http://localhost:3456/docs"
echo ""
echo "Press Ctrl+C to stop"
echo ""
cd tools/api && python -m uvicorn server:app --host 0.0.0.0 --port 3456 --reload