Update odoo-install.sh
Some checks failed
Shellcheck / Shellcheck (push) Has been cancelled
Create Changelog Pull Request / update-changelog-pull-request (push) Has been cancelled
Close Discussion on PR Merge / close-discussion (push) Has been cancelled
Sync to Gitea / sync (push) Has been cancelled

This commit is contained in:
CanbiZ 2025-05-13 14:04:08 +02:00
parent 955a16f9ad
commit 2b2bd7739e

View File

@ -53,11 +53,10 @@ msg_ok "Cloned Odoo Repository"
setup_uv setup_uv
msg_info "Creating Python Virtual Environment" msg_info "Creating Python Virtual Environment"
uv venv /opt/odoo/.venv $STD uv venv /opt/odoo/.venv
source /opt/odoo/.venv/bin/activate $STD source /opt/odoo/.venv/bin/activate
#uv sync --all-extras $STD uv pip install --upgrade pip wheel
uv pip install --upgrade pip wheel $STD uv pip install -r /opt/odoo/odoo/requirements.txt
uv pip install -r /opt/odoo/odoo/requirements.txt
msg_ok "Created and populated Python venv" msg_ok "Created and populated Python venv"
msg_info "Creating Configuration File" msg_info "Creating Configuration File"
@ -86,7 +85,7 @@ Type=simple
User=odoo User=odoo
Group=odoo Group=odoo
Environment="PATH=/opt/odoo/.venv/bin:/usr/local/bin:/usr/bin" Environment="PATH=/opt/odoo/.venv/bin:/usr/local/bin:/usr/bin"
ExecStart=/opt/odoo/.venv/bin/python3 /opt/odoo/odoo/odoo-bin -config /opt/odoo/odoo.conf ExecStart=/opt/odoo/.venv/bin/python3 /opt/odoo/odoo/odoo-bin -c /opt/odoo/odoo.conf
Restart=on-failure Restart=on-failure
[Install] [Install]