- 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
30 lines
1.1 KiB
Bash
Executable file
30 lines
1.1 KiB
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
ERPLIBRE_VERSION="1.6.0"
|
|
|
|
EL_USER="erplibre"
|
|
EL_HOME="/${EL_USER}"
|
|
EL_HOME_ERPLIBRE="${EL_HOME}/erplibre"
|
|
EL_HOME_ODOO="${EL_HOME_ERPLIBRE}/odoo$(cat ".odoo-version" | xargs)/odoo"
|
|
EL_ODOO_VERSION=$(cat ".odoo-version" | xargs)
|
|
EL_POETRY_VERSION=$(cat ".poetry-version" | xargs)
|
|
EL_PYTHON_ODOO_VERSION=$(cat ".python-odoo-version" | xargs)
|
|
EL_PYTHON_ERPLIBRE_VERSION=$(cat "./conf/python-erplibre-version" | xargs)
|
|
EL_ERPLIBRE_VERSION=$(cat ".erplibre-version" | xargs)
|
|
# The default port where this Odoo instance will run under (provided you use the command -c in the terminal)
|
|
# Set to true if you want to install it, false if you don't need it or have it already installed.
|
|
EL_INSTALL_WKHTMLTOPDF="True"
|
|
# Set the default Odoo port
|
|
EL_PORT="8069"
|
|
EL_LONGPOLLING_PORT="8072"
|
|
# set the superadmin password
|
|
EL_SUPERADMIN="admin"
|
|
EL_CONFIG="${EL_USER}"
|
|
EL_MINIMAL_ADDONS="False"
|
|
# Set this to True if you want to install Nginx!
|
|
EL_INSTALL_NGINX="False"
|
|
# Set the website name
|
|
EL_WEBSITE_NAME="localhost"
|
|
EL_GITHUB_TOKEN=""
|
|
EL_MANIFEST_PROD="./default.xml"
|
|
EL_MANIFEST_DEV="./manifest/git_manifest_erplibre.xml"
|