@ -54,7 +54,7 @@ sudo apt-get upgrade -y
# Install PostgreSQL Server
#--------------------------------------------------
echo -e "\n---- Install PostgreSQL Server ----"
sudo apt-get install postgresql -y
sudo apt-get install postgresql postgresql-server-dev-all -y
echo -e "\n---- Creating the ODOO PostgreSQL User ----"
sudo su - postgres -c " createuser -s $OE_USER " 2> /dev/null || true
@ -69,7 +69,7 @@ echo -e "\n---- Install python packages/requirements ----"
sudo pip3 install -r https://github.com/odoo/odoo/raw/${ OE_VERSION } /requirements.txt
echo -e "\n---- Installing nodeJS NPM and rtlcss for LTR support ----"
sudo apt-get install nodejs npm
sudo apt-get install nodejs npm -y
sudo npm install -g rtlcss
#--------------------------------------------------
@ -156,7 +156,7 @@ sudo chmod 640 /etc/${OE_CONFIG}.conf
echo -e "* Create startup file"
sudo su root -c " echo '#!/bin/sh' >> $OE_HOME_EXT /start.sh "
sudo su root -c " echo 'sudo -u $OE_USER $OE_HOME_EXT /o penerp-server --config=/etc/${ OE_CONFIG } .conf' >> $OE_HOME_EXT /start.sh "
sudo su root -c " echo 'sudo -u $OE_USER $OE_HOME_EXT /o doo-bin --config=/etc/${ OE_CONFIG } .conf' >> $OE_HOME_EXT /start.sh "
sudo chmod 755 $OE_HOME_EXT /start.sh
#--------------------------------------------------