mirror of
https://github.com/browser-use/browser-use
synced 2026-05-06 17:52:15 +02:00
- Changed `AZURE_ENDPOINT` to `AZURE_OPENAI_ENDPOINT` in `.env.example`. - Corrected a typo in the contribution guide from "Lets" to "Let's". - Commented out the logging level setting in `local-setup.mdx` for clarity.
50 lines
901 B
Plaintext
50 lines
901 B
Plaintext
---
|
|
title: "Local Setup"
|
|
description: "We're excited to have you join our community of contributors. "
|
|
icon: "laptop-code"
|
|
mode: "wide"
|
|
---
|
|
|
|
## Welcome to Browser Use Development!
|
|
|
|
```bash
|
|
git clone https://github.com/browser-use/browser-use
|
|
cd browser-use
|
|
uv sync --all-extras --dev
|
|
# or pip install -U git+https://github.com/browser-use/browser-use.git@main
|
|
```
|
|
|
|
## Configuration
|
|
|
|
Set up your environment variables:
|
|
|
|
```bash
|
|
# Copy the example environment file
|
|
cp .env.example .env
|
|
|
|
# set logging level
|
|
# BROWSER_USE_LOGGING_LEVEL=debug
|
|
```
|
|
|
|
|
|
## Helper Scripts
|
|
For common development tasks
|
|
```bash
|
|
# Complete setup script - installs uv, creates a venv, and installs dependencies
|
|
./bin/setup.sh
|
|
|
|
# Run all pre-commit hooks (formatting, linting, type checking)
|
|
./bin/lint.sh
|
|
|
|
# Run the core test suite that's executed in CI
|
|
./bin/test.sh
|
|
```
|
|
|
|
|
|
|
|
## Run examples
|
|
|
|
```bash
|
|
uv run examples/simple.py
|
|
```
|