Skip to content

Latest commit

 

History

History
65 lines (42 loc) · 1.04 KB

File metadata and controls

65 lines (42 loc) · 1.04 KB

Execute ERPLibre

Start database

sudo systemctl start postgresql.service

Run ERPLibre

Method 1

Simply

./run.sh

With arguments

./run.sh -h

Method 2

Execute your own python script:

./run.sh --log-level debug

Update all

Great idea to run it when updating Odoo, it updates each module database.

./run.sh -d [DATABASE] -u all --log-level debug

Update module

./run.sh -d [DATABASE] -u [module] --log-level debug

Test

First execution, install you requirements, choose a new database.

./run.sh -d [DATABASE] -i [module to test] --test-enable --no-http --stop-after-init --log-level=test

Execute your test on a specific module.

./run.sh -d [DATABASE] -u [module to test] --test-enable --no-http --stop-after-init --log-level=test

Execute your test on a specific module with tags.

./run.sh -d [DATABASE] -u [module to test] --test-enable --no-http --stop-after-init --log-level=test --test-tags [module_name][tags]