Quick Start
wit up
Start the wit platform with all services.
What wit up Does
- Starts PostgreSQL via Docker (or connects to external DB)
- Runs database migrations automatically
- Starts the API server for Git operations and tRPC API
- Starts the web UI (Vite dev server)
Examples
Output
When successfully started:wit down
Stop the wit platform.
Examples
wit platform-status
Check the status of running services.
Data Directory
All platform data is stored in~/.wit by default:
Custom Data Directory
Use--data-dir to specify a different location:
Requirements
Docker
wit uses Docker to run PostgreSQL. Install Docker from docker.com. Check if Docker is installed:External Database (Optional)
If you prefer to use an existing PostgreSQL database:Configuration
Environment Variables
Using with External Services
To integrate with external services, set the appropriate environment variables before runningwit up:
Production Deployment
For production deployments, consider:Using Docker Compose
Create adocker-compose.yml:
Nginx Reverse Proxy
For production with HTTPS:Troubleshooting
Port Already in Use
Docker Not Found
Database Connection Failed
Check the logs:Checking Logs
Service logs are stored in~/.wit/logs/: