Gemini 3 powered repository analysis and onboarding assistant.
- Navigate to
backend/:cd backend - Setup environment (if not done):
python -m venv .venv .venv\Scripts\activate pip install -r requirements.txt # or manually install dependencies cp .env.example .env # edit .env with your keys
- Run the server:
.venv\Scripts\python.exe -m uvicorn src.main:app --reload --port 8000
- Navigate to
frontend/:cd frontend - Install dependencies:
npm install
- Run dev server:
npm run dev
Use the CLI to test analysis directly:
.\backend\.venv\Scripts\python.exe backend/firstpr-cli.py analyze octocat/Hello-WorldTo run backend tests:
$env:GOOGLE_API_KEY="test"; .\backend\.venv\Scripts\python.exe -m pytest backend/tests/test_github_client.pyThe easiest way to run the application is with Docker Compose.
- Ensure Docker is installed.
- Create a
.envfile in the root directory and set yourGOOGLE_API_KEYandGITHUB_TOKEN. - Run:
docker-compose up --build
- Open http://localhost:3000 for the app. The backend API will be available at http://localhost:8000/api.
See DEPLOY.md for Google Cloud Run deployment instructions.