|
|
|
|
@ -75,6 +75,9 @@ echo -e "\n---- Install python libraries ----"
|
|
|
|
|
sudo apt-get install python3-suds
|
|
|
|
|
|
|
|
|
|
echo -e "\n--- Install other required packages"
|
|
|
|
|
sudo apt-get install curl -y
|
|
|
|
|
curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash -
|
|
|
|
|
sudo apt-get install -y npm
|
|
|
|
|
sudo apt-get install node-clean-css -y
|
|
|
|
|
sudo apt-get install node-less -y
|
|
|
|
|
sudo apt-get install python-gevent -y
|
|
|
|
|
@ -112,7 +115,7 @@ sudo chown $OE_USER:$OE_USER /var/log/$OE_USER
|
|
|
|
|
# Install ODOO
|
|
|
|
|
#--------------------------------------------------
|
|
|
|
|
echo -e "\n==== Installing ODOO Server ===="
|
|
|
|
|
sudo git clone --depth 1 --branch $OE_VERSION --single-branch https://www.github.com/odoo/odoo $OE_HOME_EXT/
|
|
|
|
|
sudo git clone --depth 1 --branch $OE_VERSION https://www.github.com/odoo/odoo $OE_HOME_EXT/
|
|
|
|
|
|
|
|
|
|
if [ $IS_ENTERPRISE = "True" ]; then
|
|
|
|
|
# Odoo Enterprise install!
|
|
|
|
|
@ -135,9 +138,6 @@ if [ $IS_ENTERPRISE = "True" ]; then
|
|
|
|
|
echo -e "\n---- Added Enterprise code under $OE_HOME/enterprise/addons ----"
|
|
|
|
|
echo -e "\n---- Installing Enterprise specific libraries ----"
|
|
|
|
|
sudo pip3 install num2words ofxparse
|
|
|
|
|
sudo apt-get install curl
|
|
|
|
|
curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash -
|
|
|
|
|
sudo apt-get install -y npm
|
|
|
|
|
sudo ln -s /usr/bin/nodejs /usr/bin/node
|
|
|
|
|
sudo npm install -g less less-plugin-clean-css
|
|
|
|
|
sudo apt-get install node-less
|
|
|
|
|
|