Create Odoo instance without demo data, resolves #371

This commit is contained in:
Disassembler 2021-01-06 19:02:22 +01:00
parent 03d56ac0c9
commit ef116c12ef
No known key found for this signature in database
GPG Key ID: 524BD33A0EE29499

View File

@ -27,7 +27,7 @@ install -o 108080 -g 108080 -m 750 -d ${ODOO_DATA}
envsubst <odoo_conf/odoo.conf | install -o 108080 -g 108080 -m 640 /dev/stdin ${ODOO_CONF}/odoo.conf envsubst <odoo_conf/odoo.conf | install -o 108080 -g 108080 -m 640 /dev/stdin ${ODOO_CONF}/odoo.conf
# Populate database # Populate database
spoc-container start odoo -- /srv/odoo/odoo-bin -c /srv/odoo/odoo.conf -i base --load-language=cs_CZ spoc-container start odoo -- /srv/odoo/odoo-bin -c /srv/odoo/odoo.conf -i base --without-demo all --load-language cs_CZ
until grep -q 'odoo.modules.loading: Modules loaded.' /var/log/spoc/odoo.log; do until grep -q 'odoo.modules.loading: Modules loaded.' /var/log/spoc/odoo.log; do
sleep 1 sleep 1
done done