No description
Find a file
2020-07-05 22:55:13 -04:00
.github [IMP] Copy ERPLibre from https://github.com/mathbentech/InstallScript 2020-04-20 03:56:45 -04:00
script Move helpdesk, fix script fork, add missing module in ERPLibre and santelibre 2020-04-28 03:11:44 -04:00
.gitignore [IMP] Copy ERPLibre from https://github.com/mathbentech/InstallScript 2020-04-20 03:56:45 -04:00
.gitmodules Removed submodule to replace it by repo 2020-06-23 00:14:04 -04:00
default.dev.xml repo: add a new manifest focused for developpement 2020-07-05 22:55:06 -04:00
default.xml Init repo 2020-06-23 00:14:33 -04:00
DEVELOPMENT.md Move helpdesk, fix script fork, add missing module in ERPLibre and santelibre 2020-04-28 03:11:44 -04:00
env_var.sh [IMP] Copy ERPLibre from https://github.com/mathbentech/InstallScript 2020-04-20 03:56:45 -04:00
HOWTO.md [IMP] Copy ERPLibre from https://github.com/mathbentech/InstallScript 2020-04-20 03:56:45 -04:00
LICENSE Initial commit 2020-04-12 21:20:13 -04:00
MIGRATION.md Move helpdesk, fix script fork, add missing module in ERPLibre and santelibre 2020-04-28 03:11:44 -04:00
PRODUCTION.md Move helpdesk, fix script fork, add missing module in ERPLibre and santelibre 2020-04-28 03:11:44 -04:00
README.md repo: add documentation in readme 2020-07-05 22:55:13 -04:00
requirements.txt [IMP] Copy ERPLibre from https://github.com/mathbentech/InstallScript 2020-04-20 03:56:45 -04:00
run.md [IMP] Copy ERPLibre from https://github.com/mathbentech/InstallScript 2020-04-20 03:56:45 -04:00
run.sh [IMP] Copy ERPLibre from https://github.com/mathbentech/InstallScript 2020-04-20 03:56:45 -04:00
source_repo_addons_odoo.csv [FIX] integrates ERPLibre addons and SanteLibre addons 2020-04-28 02:44:57 -04:00

ERPLibre

https://railsware.com/blog/taming-the-git-daemon-to-quickly-share-git-repository/ git daemon --base-path=. --export-all --reuseaddr --informative-errors --verbose

repo init -u git://127.0.0.1:9418/ -b $(git branch --show-current)

Table à vérifier dans pgsql : ir_ui_view

Restore une BD :

  • un module est installé mais n'est pas physiquement là

Une DB est installé mais on n'arrive pas à l'exécuté

HEALTHCHECK CMD curl --fail http://localhost:8069/web || exit 1

TODO : having the DB variable configurable

Installation procedure production

1. Clone the project:
git clone https://github.com/ERPLibre/ERPLibre.git
2. Modify the parameters

Modify the file env_var.sh for production installation.

3. Execute the script:
sudo ./script/odoo_install_production.sh

Installation procedure locally

1. Clone the project:
git clone https://github.com/ERPLibre/ERPLibre.git
2. Execute the script:
sudo ./script/odoo_install_locally.sh

Execution

First run

source ./venv/bin/activate
python odoo/odoo-bin -c config.conf --log-level debug

Update all

Great idea to run it when update Odoo, update database of each modules.

python odoo/odoo-bin -c config.conf -d [DATABASE] -u all --log-level debug

Update module

python odoo/odoo-bin -c config.conf -d [DATABASE] -u [module] --log-level debug

Test

python odoo/odoo-bin -c config.conf -d [DATABASE] -i [module to test] --test-enable --stop-after-init --log-level=test --test-tags [module_name][tags]

Production

python odoo/odoo-bin -c config.conf -d [DATABASE] --no-database-list

Thanks

Thanks Yenthe Van Ginneken for your guides.