35 lines
1.3 KiB
Bash
Executable file
35 lines
1.3 KiB
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
ERPLIBRE_VERSION=$(cat ".erplibre-semver-version" | xargs)
|
|
|
|
#EL_USER="erplibre"
|
|
EL_USER="${USER}"
|
|
#EL_HOME="/${EL_USER}"
|
|
EL_HOME="${HOME}"
|
|
#EL_HOME_ERPLIBRE="${EL_HOME}/erplibre"
|
|
EL_HOME_ERPLIBRE="${PWD}"
|
|
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"
|
|
# The configuration systemctl service will be erplibre_dirname
|
|
EL_CONFIG="erplibre_${PWD##*/}"
|
|
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"
|
|
EL_LANG="fr"
|