Create dev environment » History » Revision 3
Revision 2 (Olivier Bitsch, 01/19/2024 08:03 AM) → Revision 3/5 (Olivier Bitsch, 03/26/2024 08:48 AM)
# Create dev environment with OCA ## Requirements We assume you already have: - VScode installed - Python3 installed - You have PostGreSQL ## Setup process ### Clone Odoo Create only the wanted branch (place everything in an empty folder. If you plan to work with several odoo versions, you should create a folder with version name (e.g. odoo17). > Due to virtual environment, don't rename or move this folder. ``` BRANCH=17.0 git clone --depth=1 --branch ${BRANCH} --single-branch https://github.com/odoo/odoo ``` Create virtualenv and install dependancies ``` python3 -m venv venv . ./venv/bin/activate pip install -r odoo/requirements.txt ``` To install OCA packages, download the xz file corresponding to your odoo version here https://projects.iabsis.com/projects/odoo-oca/files Extract into your project root folder and name it "oca", it should containing all oca addons. Now copy odoo.conf config file into your root folder ``` cp odoo/debian/odoo.conf odoo/odoo.conf odoo.conf ```