Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,43 @@ Before you start contributing, you'll need to set up your development environmen

### Python Virtual Environment Setup


### Optional: Python Virtual Environment Setup using `uv`

BLT can also be set up using [`uv`](https://github.com/astral-sh/uv), a fast Python package manager
and virtual environment tool. This is an **optional** alternative to the Poetry-based setup
described above.

This option is useful for contributors who prefer faster dependency resolution and installation.

#### Install `uv`

> ⚠️ Note (Windows):
> On some Windows setups, `uv` may fail to auto-detect Python installations
> due to registry or PATH resolution issues. In such cases, explicitly
> specifying the Python interpreter or using Docker/Poetry is recommended.


```bash
pip install uv
```

#### Set up the BLT project using `uv`

From the project root, run:

```bash
uv sync

To start the development server:

uv run python manage.py migrate
uv run python manage.py runserver

Open your browser at:
http://localhost:8000


1. Install Python 3.11.2 (using pyenv or another tool):

```bash
Expand Down
Loading