Skip to content

Commit 55c5a55

Browse files
authored
docs: Add steps to fully reinstall torchjd in CONTRIBUTING.md (#400)
1 parent ea96217 commit 55c5a55

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

CONTRIBUTING.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,19 @@ mandatory, we only provide installation steps with this tool. You can install it
3737
> created by `uv`, using `source .venv/bin/activate` from the root of `torchjd`. This will, however,
3838
> only work in the current terminal until it is closed.
3939
40+
41+
## Clean reinstallation
42+
43+
If you want to update all dependencies or just reinstall from scratch, run the following command
44+
from the root of `torchjd`:
45+
```bash
46+
rm -rf .venv
47+
rm uv.lock
48+
uv venv
49+
CC=gcc uv pip install -e '.[full]' --group check --group doc --group test --group plot
50+
uv run pre-commit install
51+
```
52+
4053
## Running tests
4154
- To verify that your installation was successful, and that all unit tests pass, run:
4255
```bash

0 commit comments

Comments
 (0)