Skip to content

Commit c4a77cc

Browse files
Update readme (#20)
* Update av to version 16.0.1 - upgraded av from 10.0.0 to 16.0.1 * docs: update README with virtual environment setup - Added section for creating a virtual environment - Updated command for creating venv - Added instructions for activating venv * fix(docker): downgrade av package version - Changed av from 16.0.1 to 10.0.0 --------- Co-authored-by: Haihui.Wang <wanghh2000@163.com>
1 parent 695ccce commit c4a77cc

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ This project inherits the [Apache License 2.0](LICENSE) from Data Juicer.
3434
docker build -t dataflow . -f Dockerfile
3535
```
3636

37-
3837
## Prerequisites
3938

4039
Launch postgres container
@@ -126,9 +125,19 @@ docker run -d --name celery-work -p 8001:8001 \
126125

127126
## Run data-flow server in development mode locally
128127

128+
### Create a Virtual Environment
129+
129130
```bash
130-
# Create virtual python 3.10 environment
131+
uv venv --python 3.10
132+
133+
source .venv/bin/activate
134+
135+
# or
136+
131137
conda create -n dataflow python=3.10
138+
```
139+
140+
```bash
132141

133142
# Install dependencies
134143
pip install '.[dist]' -i https://pypi.tuna.tsinghua.edu.cn/simple/

0 commit comments

Comments
 (0)