Create dev environment » History » Version 1
Olivier Bitsch, 01/19/2024 07:58 AM
1 | 1 | Olivier Bitsch | # Create dev environment |
---|---|---|---|
2 | |||
3 | Clone only the wanted branch (place everything in an empty folder |
||
4 | |||
5 | ``` |
||
6 | BRANCH=17.0 |
||
7 | git clone --depth=1 --branch ${BRANCH} --single-branch https://github.com/odoo/odoo |
||
8 | ``` |
||
9 | |||
10 | Create virtualenv and install dependancies |
||
11 | |||
12 | ``` |
||
13 | python3 -m venv venv |
||
14 | . ./venv/bin/activate |
||
15 | pip install -r odoo/requirements.txt |
||
16 | ``` |