- erplibre separate venv erplibre and odoo - rename python-version to python-odoo-version - add conf/python-erplibre-version - rename .venv to .venv.erplibre - move .venv/repo to .venv.erplibre/bin/repo - install pyenv into .venv.erplibre - install poetry into .venv.odooVERSION - first installation show odoo version to install - can install erplibre without odoo - update README.md information about installation with TODO - change image from github to locally - remove link creation .venv - update version: remove code to force create symbolic link .venv - use dynamic merge manifest, will be able to merge different odoo version - can add dev tools - default manifest is empty to remove conflict
43 lines
1 KiB
Bash
Executable file
43 lines
1 KiB
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
. ./env_var.sh
|
|
|
|
Red='\033[0;31m' # Red
|
|
Color_Off='\033[0m' # Text Reset
|
|
|
|
echo ""
|
|
echo "RUN ./script/install/install_locally.sh"
|
|
echo ""
|
|
./script/install/install_locally.sh
|
|
retVal=$?
|
|
if [[ $retVal -ne 0 ]]; then
|
|
echo -e "${Red}Error${Color_Off} ./script/install/install_locally.sh"
|
|
exit 1
|
|
fi
|
|
|
|
# Update git-repo
|
|
echo ""
|
|
echo "RUN ./script/manifest/update_manifest_local_dev.sh"
|
|
echo ""
|
|
./script/manifest/update_manifest_local_dev.sh
|
|
retVal=$?
|
|
if [[ $retVal -ne 0 ]]; then
|
|
echo -e "${Red}Error${Color_Off} manifest update, check git-repo."
|
|
exit 1
|
|
fi
|
|
|
|
npm install
|
|
|
|
## Install maintainer-tools
|
|
#cd script/OCA_maintainer-tools || exit
|
|
## virtualenv is not installed by default
|
|
##virtualenv env
|
|
#../../.venv.erplibre/bin/python -m venv env
|
|
#. env/bin/activate
|
|
#pip install setuptools-rust
|
|
## Delete all tag before installing, or break installation, will generate a new one after
|
|
#git tag | xargs git tag -d
|
|
#python setup.py install
|
|
#git tag ERPLibre/v1.4.0
|
|
##${VENV_PATH}/bin/pip install ./script/OCA_maintainer-tools/
|
|
#cd -
|