- Industrial dark theme with #76B900 NVIDIA green accents - Real-time telemetry from Kubernetes API - Create Sandbox button and workflow - Destroy Sandbox mode with destructive confirmation overlay - Sidebar fetches pod data directly from /api/telemetry/real - Fixed TypeError with defensive array checks - Technical typography, sharp corners, data-dense panels - Status indicators: GREEN RUNNING, red DESTROY mode
2.5 KiB
2.5 KiB
Quick Start Guide
Installation & Setup
- Navigate to project directory:
cd /home/nvidia/.openclaw/workspace/nemo-shell-dashboard
- Install dependencies:
npm install
- Start the development server:
npm run dev
- Open your browser:
http://localhost:3000
What You'll See
- Configuration Panel at the top - set your OpenShell and Ollama URLs
- Telemetry Cards - CPU, memory, disk, and GPU usage (updates every 3 seconds)
- One-Click Actions - Start Sandbox, Stop Sandbox, Create Instance, Switch Model buttons
- Model Switcher - Dropdown to select Ollama models
- Configuration Panels - View settings for OpenShell, NemoClaw, and Ollama
Testing the Dashboard
Test 1: Verify Dashboard Loads
- Open
http://localhost:3000 - All sections should render without errors
- Telemetry should show values (randomly generated)
Test 2: Configuration Panel
- Edit the OpenShell URL field
- Edit the Ollama URL field
- Settings are saved to localStorage (persists on refresh)
Test 3: One-Click Actions
- Click "Start Sandbox"
- Click "Stop Sandbox"
- Click "Create Instance"
- Click "Switch Model"
- Check that status messages appear
Test 4: Model Switcher
- Select a different model from the dropdown
- Click "Switch Model"
- Verify success message
Test 5: Telemetry Updates
- Wait 3 seconds
- Telemetry values should update automatically
- No console errors should appear
Troubleshooting
Dashboard won't load
- Check if port 3000 is already in use:
lsof -ti:3000 - Kill process:
kill -9 $(lsof -ti:3000) - Restart the server
API endpoints returning errors
- This is expected - endpoints are mocked for development
- Check browser console for specific errors
- No real connection to OpenShell/Ollama is required
Dependencies not installing
- Make sure you're running Node.js 18 or later
- Clear npm cache:
npm cache clean --force - Try reinstalling:
rm -rf node_modules package-lock.json && npm install
Next Steps (Production)
To make this production-ready:
- Replace mock API routes with real API calls to OpenShell (port 8080) and Ollama (port 11434)
- Add authentication to API routes
- Implement proper error handling
- Add loading states and skeletons
- Add dark mode toggle
- Add more detailed telemetry charts
- Add deployment configuration (Docker, Vercel, etc.)
Support
For issues or questions:
- Check the main README.md
- Review API route files for endpoint details
- Check browser console for errors