docs: add uv install and Docker rebuild notes (#1173, #1297)

- uv alternative to conda and pip
- rebuild the Docker image after updating
This commit is contained in:
Yijia-Xiao
2026-09-15 01:33:48 +00:00
parent 2942655f70
commit ef52d4452b

View File

@@ -110,7 +110,13 @@ conda create -n tradingagents python=3.12
conda activate tradingagents
```
Install the package and its dependencies:
Or with [uv](https://docs.astral.sh/uv/):
```bash
uv venv --python 3.12
source .venv/bin/activate
```
Install the package and its dependencies (`uv pip install .` with uv):
```bash
pip install .
```
@@ -123,6 +129,8 @@ cp .env.example .env # add your API keys
docker compose run --rm tradingagents
```
After updating the repository, rebuild the image with `docker compose build`.
For local models with Ollama:
```bash
docker compose --profile ollama run --rm tradingagents-ollama