Browse Source

adds debug level and module upgrade on server restart

pull/2/head
Your Name 4 years ago
parent
commit
7dd1d4a6cd
  1. 9
      makefile-installation.md

9
makefile-installation.md

@ -78,7 +78,7 @@ dependencies:
cd ./odoo; cd ./odoo;
pip3 install setuptools wheel; pip3 install setuptools wheel;
pip3 install -r requirements.txt pip3 install -r requirements.txt
pip3 install watchdog
pip3 install watchdog
.ONESHELL: .ONESHELL:
addons: addons:
@ -91,17 +91,20 @@ addons:
.ONESHELL: .ONESHELL:
initodoo: initodoo:
cd ./odoo cd ./odoo
python3 odoo-bin --addons-path=addons,../lokavaluto-addons -i base -d $$USER --stop-after-init
python3 odoo-bin --addons-path=addons,../lokavaluto-addons -i base,l10n_fr -d $$USER --stop-after-init
# make run # make run
.ONESHELL: .ONESHELL:
run: runfirefox runodoo run: runfirefox runodoo
# -u : Upgrade specified modules on restart
# --dev all : restart server on py change
# --log-handler : Adds more information in log
.ONESHELL: .ONESHELL:
runodoo: runodoo:
cd ./odoo cd ./odoo
python3 odoo-bin --addons-path=addons,../lokavaluto-addons
python3 odoo-bin --addons-path=addons,../lokavaluto-addons -u lcc_exchange_counters --dev all --log-handler :DEBUG
runfirefox: runfirefox:
firefox http://localhost:8069?debug= & firefox http://localhost:8069?debug= &

Loading…
Cancel
Save