Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC: Running it in virtualenv #2

Open
rvalyi opened this issue Jun 25, 2024 · 0 comments
Open

DOC: Running it in virtualenv #2

rvalyi opened this issue Jun 25, 2024 · 0 comments

Comments

@rvalyi
Copy link
Member

rvalyi commented Jun 25, 2024

Hello this not a bug report but a note how to run such an Odoo v16 project in virtualenv so it is not lost before we put it somewhere else.

This assumes you installed Postgresql and have it running on localhost with an odoo user with some_password.

python -m venv odoo
source odoo/bin/activate
pip install lxml==4.9.2  # this avoids ImportError: lxml.html.clean module is now a separate project lxml_html_clean
pip install -e odoo/src
odoo -s -c odoo-dev.conf --stop-after-init
# edit odoo-dev.conf, set db_host=localhost, db_user=odoo,db_password=some_password and put the result of ak build --links | sed 's#/odoo/#odoo/#g' into addons_path
odoo -c odoo-dev.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant