erplibre/doc/RUN.md
Marie-Michele Poulin d8ef5912e4 [FIX] text correction in documentation
Signed-off-by: Marie-Michèle Poulin <marie-michele.poulin@technolibre.ca>
2020-09-30 21:02:19 -04:00

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

Execute your test on a specific module.

./run.sh -d [DATABASE] -u [module to test] --test-enable --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 --stop-after-init --log-level=test --test-tags [module_name][tags]