Skip to content

Commit 6e94fd3

Browse files
authored
Update contributing.md (#381)
* Update contributing.md - Use a more standard way of creating virtual environment - Ensure latest version of rust * Update contributing.md
1 parent 301c77e commit 6e94fd3

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

docs/docs/about/contributing.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,20 @@ We tag issues with the ["good first issue"](https://github.com/cocoindex-io/coco
2323
## Start hacking! Setting Up Development Environment
2424
Following the steps below to get cocoindex build on latest codebase locally - if you are making changes to cocoindex funcionality and want to test it out.
2525

26-
- Install Rust toolchain: [docs](https://rust-lang.org/tools/install)
26+
- 🦀 [Install Rust](https://rust-lang.org/tools/install)
27+
28+
If you don't have Rust installed, run
29+
```bash
30+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
31+
```
32+
Already have Rust? Make sure it's up to date
33+
```bash
34+
rustup update
35+
```
2736
28-
- (Optional) Setup Python virtual environment:
37+
- (Recommended) Setup Python virtual environment:
2938
```bash
30-
virtualenv --python=$(which python3.12) .venv
39+
python3 -m venv .venv
3140
```
3241
Activate the virtual environment, before any installings / buildings / runnings:
3342

0 commit comments

Comments
 (0)