erplibre/script/odoo_install_dev.sh
Mathieu Benoit dae32637bc [IMP] Copy ERPLibre from https://github.com/mathbentech/InstallScript
- Fix many script and support feature to fork project with organization
2020-04-20 03:56:45 -04:00

22 lines
767 B
Bash
Executable file

#!/bin/bash
################################################################################
# Script for installing Odoo locally for dev
# Author: Alexandre Ferreira Benevides
################################################################################
. ../env_var.sh
if [[ "${OSTYPE}" == "linux-gnu" ]]; then
OS=$(lsb_release -si)
if [[ "${OS}" == "Ubuntu" ]]; then
echo "\n---- linux-gnu installation process started ----"
./odoo_install_debian_dependancy.sh
./odoo_install_locally.sh
else
echo "Your Linux system is not supported."
fi
elif [[ "${OSTYPE}" == "darwin"* ]]; then
echo "\n---- Darwin installation process started ----"
./odoo_install_OSX_dependancy.sh
./odoo_install_locally.sh
fi