Changes to set up the host python app with uv

This commit is contained in:
Atharva Sawant
2025-11-28 08:26:21 +05:30
parent 852957a7de
commit 3d4c3f7f04
10 changed files with 853 additions and 61 deletions

View File

@@ -31,20 +31,33 @@ MiniProfiler consists of two main components:
## Quick Start
### Installation
### Installation with uv (Recommended - 10x faster)
```bash
cd host
pip install -r requirements.txt
# Create virtual environment and install
uv venv
source .venv/bin/activate # Linux/macOS (.venv\Scripts\activate on Windows)
uv pip install -e .
```
Or install as a package:
### Installation with pip
```bash
cd host
pip install -e .
```
### Using Makefile (easiest)
```bash
# From project root
make install # Install with uv
make run # Run the server
make sample # Generate sample data
```
### Running the Host Application
```bash