Skip to content

Commit c8aabcb

Browse files
committed
use conda environment file
1 parent cb94e61 commit c8aabcb

File tree

5 files changed

+222
-751
lines changed

5 files changed

+222
-751
lines changed

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -264,14 +264,17 @@ Follow these steps to set up a local development environment for the entire Node
264264
### 1. Set Up Conda Environment
265265

266266
```bash
267-
# Create and activate the Conda environment
268-
conda create -n nodetool python=3.11 -y
267+
# Create or update the Conda environment from environment.yml
268+
conda env update -f environment.yml --prune
269269
conda activate nodetool
270-
271-
# Install essential system dependencies via Conda
272-
conda install -c conda-forge ffmpeg cairo x264 x265 aom libopus libvorbis lame pandoc uv -y
273270
```
274271

272+
**Windows shortcut:** run `pwsh -File setup_windows.ps1` to perform all steps (Conda env, Python installs, npm bootstraps) and start backend/web/electron processes.
273+
274+
The script clones or updates `nodetool-core`, `nodetool-base`, and `nodetool-huggingface` one level up from the `nodetool` repository before installing them in editable mode.
275+
276+
**macOS/Linux shortcut:** run `./scripts/setup_unix.sh` for the equivalent automation.
277+
275278
### 2. Install Core Python Dependencies
276279

277280
These are the essential packages to run NodeTool.

0 commit comments

Comments
 (0)