diff --git a/README.md b/README.md index 4c08525..dafbbc3 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ -This script is based on the install script from André Schenkels (https://github.com/aschenkels-ictstudio/openerp-install-scripts) +This script is based on the install script from André Schenkels (https://github.com/aschenkels-ictstudio/openerp-install-scripts) and Yenthe666 script at https://github.com/Yenthe666/InstallScript but goes a bit further. This script will also give you the ability to define an xmlrpc_port in the .conf file that is generated under /etc/ This script can be safely used in a multi-odoo code base server because the default Odoo port is changed BEFORE the Odoo is started.

Installation procedure

1. Download the script: ``` -sudo wget https://raw.githubusercontent.com/Yenthe666/InstallScript/10.0/odoo_install.sh +sudo wget https://raw.githubusercontent.com/drmedrme/Odoo-InstallScript/10.0/odoo_install.sh ``` 2. Make the script executable: ``` diff --git a/odoo_install.sh b/odoo_install.sh index f3115a8..810fc98 100644 --- a/odoo_install.sh +++ b/odoo_install.sh @@ -17,6 +17,7 @@ ##fixed parameters #odoo OE_USER="odoo" +OE_USER2="vagrant" OE_HOME="/$OE_USER" OE_HOME_EXT="/$OE_USER/${OE_USER}-server" #The default port where this Odoo instance will run under (provided you use the command -c in the terminal) @@ -26,7 +27,8 @@ INSTALL_WKHTMLTOPDF="True" OE_PORT="8069" #Choose the Odoo version which you want to install. For example: 10.0, 9.0, 8.0, 7.0 or saas-6. When using 'trunk' the master version will be installed. #IMPORTANT! This script contains extra libraries that are specifically needed for Odoo 10.0 -OE_VERSION="10.0" +#OE_VERSION="10.0" +OE_VERSION="saas-17" # Set this to True if you want to install Odoo 10 Enterprise! IS_ENTERPRISE="False" #set the superadmin password @@ -56,6 +58,7 @@ sudo apt-get install postgresql -y echo -e "\n---- Creating the ODOO PostgreSQL User ----" sudo su - postgres -c "createuser -s $OE_USER" 2> /dev/null || true +sudo su - postgres -c "createuser -s $OE_USER2" 2> /dev/null || true #-------------------------------------------------- # Install Dependencies