This commit is contained in:
hoangvv 2025-01-07 15:24:17 +07:00
parent 010ccc1d4f
commit 837212fad8
2 changed files with 4 additions and 2 deletions

View File

@ -9,10 +9,12 @@ DOCKER_PUSH=$(DOCKERCMD) push
DOCKER_IMAGE=$(DOCKERCMD) image
DEPLOY_PATH=${PWD}/deployment
SETUP_PATH=${PWD}/setup
BRANCH := $(shell git rev-parse --abbrev-ref HEAD)
BRANCH := main
HASH := $(shell git rev-parse HEAD)
CONFIG=odoo.conf
install:
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
pyenv virtualenv ${BRANCH}
pyenv activate ${BRANCH}
export DEBIAN_FRONTEND=noninteractive && \

View File

@ -8,7 +8,7 @@ ODOO_IMAGE='hub.nextzenos.com/nexterp/odoo'
DEPLOY_PATH=$(pwd)/deployment
PG_DB=nexterp
PG_USER=nexterp
CURRENT_BRANCH=$(git symbolic-ref --short HEAD)
CURRENT_BRANCH=main
ODOO_ADDONS=./addons
ODOO_CONFIG=./etc
# System