Setting Up Your Environment
This guide explains how to configure your development machine for building and running CommitT, with a focus on Windows WSL2 setups.WSL2 to Android Connectivity (ADB Bridge)
If you are developing inside WSL2 on Windows, the Android Debug Bridge (ADB) inside WSL cannot natively see devices plugged into Windows. You must bridge them usingsocat or TCP forwarding.
Step 1: Start ADB Server on Windows
Open PowerShell on Windows and run:5037 to your network.
Step 2: Configure WSL2 to use Windows ADB
Inside WSL2, point your local ADB client to the Windows host IP address:- Add the following to your
~/.bashrcor~/.zshrc: - Reload your shell configuration:
Step 3: Verify Connection
Verify your device is listed in WSL:Lenovo K12 Note), the bridge is working!
Environment Variables
Copy the.env.example templates in the monorepo packages to configure your local keys.
1. Backend (packages/backend/.env.local)
This file is automatically generated by Convex when you run npx convex dev, but you need to manually add the following keys for authentication and notifications: