Project

General

Profile

Create dev environment » History » Version 2

Olivier Bitsch, 01/19/2024 08:03 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
```
17 2 Olivier Bitsch
18
To install OCA packages, download the xz file corresponding to your odoo version here
19
https://projects.iabsis.com/projects/odoo-oca/files
20
Extract into your project root folder and name it "oca", it should containing all oca addons.
21
22
Now copy odoo.conf config file into your root folder
23
24
```
25
cp odoo/odoo.conf odoo.conf
26
```