docker_images/odoo/golem/launch10.dev.sh

12 lines
246 B
Bash
Raw Normal View History

2017-06-05 08:23:45 +02:00
#!/bin/bash
CONF=/opt/odoo/odoo.conf
ODOOCMD="python /opt/odoo/OCB/odoo-bin --config $CONF"
if [ "$DEV" == 1 ]; then
ODOOCMD="$ODOOCMD --dev xml --log-handler :DEBUG"
fi
# Configuration generation and Odoo launch
bash genconf.sh && $ODOOCMD