erplibre/doc/RUN.md

1,016 B

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 database of each modules.

./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 --stop-after-init --log-level=test

Execute your test on specific module.

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

Execute your test on specific module with tags.

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