- Python 3.12+ with venv
- Node.js 18+
- Spot robot on the network
First, copy the example env and fill in your credentials:
cd ~/projects/SpotCommandCenter/backend
cp .env.example .env
# Edit .env with your robot IP, credentials, and JWT secret
nano .env
source venv/bin/activate
python app.pycd ~/projects/SpotCommandCenter/frontendp
npm startGo to http://localhost:3000 in your browser.
Login: Use the credentials you set in backend/.env (APP_USER_ADMIN)
Edit backend/.env to change settings:
| Variable | Default | Description |
|---|---|---|
| ROBOT_IP | 192.168.1.100 | Spot's IP address |
| SERVER_PORT | 8000 | Backend API port |
| MOCK_ROBOT | False | Use mock robot (no Spot) |
| JWT_SECRET | (set in .env) | Auth token secret |
# Kill backend
pkill -f "python app.py"
# Kill frontend
pkill -f "react-scripts"