Changes to set up the host python app with uv
This commit is contained in:
19
README.md
19
README.md
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user