[IMP]Odoo service improvement for dev v10 with auto_reloading
This commit is contained in:
parent
5f7dee21d6
commit
63a59eb4b6
@ -1,4 +1,6 @@
|
||||
FROM odoo:10.0
|
||||
MAINTAINER Yaltik - Fabien Bourgeois <fabien@yaltik.com>
|
||||
|
||||
ADD shell10.sh ./
|
||||
RUN pip install watchdog
|
||||
COPY shell10.sh ./
|
||||
COPY launch10.dev.sh ./launch10.sh
|
||||
|
@ -5,4 +5,4 @@ WORKDIR /opt/odoo/extra-addons
|
||||
RUN git clone --depth 1 -b 8.0 https://github.com/OCA/server-tools
|
||||
|
||||
WORKDIR /opt/odoo
|
||||
ADD shell.sh ./
|
||||
COPY shell.sh ./
|
||||
|
7
odoo/odoo/launch10.dev.sh
Normal file
7
odoo/odoo/launch10.dev.sh
Normal file
@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
CONF=/opt/odoo/odoo.conf
|
||||
ODOOCMD="python /opt/odoo/OCB/odoo-bin --config $CONF --dev all"
|
||||
|
||||
# Configuration generation and Odoo launch
|
||||
bash genconf.sh && $ODOOCMD
|
Loading…
x
Reference in New Issue
Block a user