Added bash commands for windows

This commit is contained in:
2026-06-02 14:35:44 +02:00
parent 08513d643a
commit 84f2b4e1e8

View File

@@ -16,9 +16,12 @@ cd clip-annotator
uv sync
# 2. Create config and clip list from examples
cp config/config.example.yaml config/config.yaml
cp config/config.example.yaml config/config.yaml # macOS/Linux
cp config/clips.example.txt config/clips.txt
copy config\config.example.yaml config\config.yaml # Windows
copy config\clips.example.txt config\clips.txt
# 3. Edit config/config.yaml (set data_dir and out_dir)
# Edit config/clips.txt (list clips to annotate)
# Edit config/questions.yaml to customise survey questions (optional)
@@ -45,8 +48,13 @@ pip install -e .
Before running, create your config and clip list from the provided examples:
```sh
# macOS/Linux
cp config/config.example.yaml config/config.yaml
cp config/clips.example.txt config/clips.txt
# Windows
copy config\config.example.yaml config\config.yaml
copy config\clips.example.txt config\clips.txt
```
Edit `config/config.yaml` to set your `data_dir` and `out_dir`, then edit `config/clips.txt` to list the clips you want to annotate. Survey questions are defined in `config/questions.yaml` (committed to the repo; edit to customise). See the [Configuration](#configuration) section for all available options.
@@ -64,7 +72,8 @@ out_dir: my-bucket/annotation_results
Copy `.env.example` to `.env` and fill in your credentials — the app loads this file automatically at startup:
```sh
cp .env.example .env
cp .env.example .env # macOS/Linux
copy .env.example .env # Windows
# edit .env with your credentials
```