Skip to content

Automated install scripts for Odoo v8 or v9 (Community or Enterprise editions). This scripts just needs to be preconfigured before being launched, no interaction needed.

License

Notifications You must be signed in to change notification settings

gustavovalverde/odoo-install-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 

Repository files navigation

odoo-install-scripts

Automated install scripts for Odoo v8 or v9 (Community editions). This scripts just needs to be preconfigured before being launched, no interaction needed.

The script is based on the install script from André Schenkels (https://github.com/aschenkels-ictstudio/openerp-install-scripts) and having some additions from the one of Yenthe (https://github.com/Yenthe666/InstallScript) but with a lot of additions as virtualenv and considerations for proxied installs, Nginx, and extra tools.

It also follows the approach recommended in Odoo's documentation (https://www.odoo.com/documentation/9.0/setup/install.html) using pip instead of apt-get for python dependencies

It's recommended to install this script with elevated privileges, so there's no need to use sudo to execute this procedure.

Installation procedure

1. Download the script ```bash wget https://raw.githubusercontent.com/gustavovalverde/odoo-install-scripts/16.04/odoo_install.sh ```
  1. THIS IS IMPORTANT! Modify this variables, otherwise you might get hacked too easily
  OE_USER="odoo"
  OE_VIRTENV="venv"
  OE_SUPERADMIN="admin"
  1. Modify this Odoo variables based on your needs
  INSTALL_WKHTMLTOPDF="True"
  OE_PORT="8069"
  OE_VERSION="9.0"
  OE_DB="mydb"
  OE_INTERFACE='127.0.0.1'
  PSQL_VERSION="9.6"
  1. Modify this Nginx variables based on your needs
  DOMAIN_NAME="EXAMPLE.COM" #change with your domain

  #Odoo Web Gui configuration for Nginx
  ODOO_SRVC="odoo"
  ODOO_IP="127.0.0.1" #$SRVR_IP, Loopback or your private odoo server IP
  ODOO_PORT="8069"
  HTTP_PORT="80" #HTTP External Port
  HTTPS_PORT="443" #HTTPS External Port

  #Change to your company details
  country="DO"
  state="Santo_Domingo"
  locality="DN"
  organization="iterativo.do"
  organizationalunit="IT"
  email="[email protected]"
  1. Make the script executable
  chmod +x odoo_install.sh
  1. Execute the script:
  /odoo_install.sh

About

Automated install scripts for Odoo v8 or v9 (Community or Enterprise editions). This scripts just needs to be preconfigured before being launched, no interaction needed.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages