29 lines
581 B
Makefile
29 lines
581 B
Makefile
# justfile to update code, install it to /opt, and control Odoo service
|
|
|
|
set shell := ['bash', '-cu']
|
|
|
|
default:
|
|
just --list
|
|
|
|
update-custom:
|
|
./update_from_repo.sh -o custom
|
|
|
|
install-custom:
|
|
sudo ./install_odoo_code.sh -o custom
|
|
|
|
stop-odoo:
|
|
sudo systemctl stop odoo.service
|
|
|
|
start-odoo:
|
|
sudo systemctl start odoo.service
|
|
|
|
restart-odoo:
|
|
sudo systemctl restart odoo.service
|
|
|
|
update-and-install: update-custom install-custom
|
|
|
|
update-install-and-stop: update-custom install-custom stop-odoo
|
|
|
|
update-install-and-restart: update-custom install-custom restart-odoo
|
|
|