No description
Find a file
Mathieu Benoit 8a11ab88c7 Script integrate manifest git-repo
- Add sync repo with manifest xml
- sync repo print to show missing or added repo
- Release 1.0.0 manifest for prod
- Support generation manifest from script
- Separate prod/dev installation locally script
- Generate repo and keep old manifest configuration when update
- Move manifest in directory ./manifest/
- Many general fixes
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
manifest Script integrate manifest git-repo 2020-07-05 22:55:13 -04:00
script Script integrate manifest git-repo 2020-07-05 22:55:13 -04:00
.gitignore Script integrate manifest git-repo 2020-07-05 22:55:13 -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 Script integrate manifest git-repo 2020-07-05 22:55:13 -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 Script integrate manifest git-repo 2020-07-05 22:55:13 -04:00
run.md [IMP] Copy ERPLibre from https://github.com/mathbentech/InstallScript 2020-04-20 03:56:45 -04:00
run.sh Script integrate manifest git-repo 2020-07-05 22:55:13 -04:00
source_repo_addons.csv Script integrate manifest git-repo 2020-07-05 22:55:13 -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.