wit status
Display the current state of all wit platform services including the database, API server, and web UI.Overview
When running wit as a platform (withwit up), multiple services work together:
- Database - PostgreSQL for data storage
- API Server - Backend API endpoints
- Web UI - Frontend dashboard
wit status command shows the health of all these services.
Usage
Options
| Option | Description |
|---|---|
--json | Output as JSON |
-h, --help | Show help message |
Output
Normal Output
JSON Output
Service Details
Database
The database service runs PostgreSQL in a Docker container namedwit-postgres.
- Default port: 5432
- Data stored in:
~/.wit/postgres
API Server
The API server provides:- tRPC API endpoints
- Git HTTP protocol
- Webhook handlers
- Authentication
- Default port: 3000
Web UI
The web interface provides:- Repository browser
- Pull request management
- Issue tracking
- Dashboard and analytics
- Default port: 5173
Troubleshooting
Service Not Running
If a service shows as not running:Port Conflicts
If ports are in use:Database Connection Issues
Data Directory
All wit platform data is stored in~/.wit/: