Ir al contenido
  • +31 653-919-302
Cafayate.Net
  • 0
  • 0
  • Inicia sesión
  • Nederlands English (US) Español (AR)
  • Contáctanos
  • Inicio
  • Blog
  • Empleos
  • Contáctanos
Cafayate.Net
  • 0
  • 0
    • Inicio
    • Blog
    • Empleos
    • Contáctanos
  • +31 653-919-302
  • Nederlands English (US) Español (AR)
  • Inicia sesión
  • Contáctanos

How can I install Odoo 9?

  • Todos los blogs
  • Tech Blog
  • How can I install Odoo 9?
  • 5 de marzo de 2021 por
    Administrator

    #download and uncompress Odoo, change YYYYMMdd to match the name of your extracted Odoo folder

    mkdir /opt/odoo
    cd /opt/odoo
    wget https://nightly.odoo.com/master/nightly/src/odoo_9.0alpha1.latest.tar.gz
    tar xvf odoo_9.0alpha1.latest.tar.gz
    mv odoo-9.0alpha1-YYYYMMdd server

    #install python-virtualenv if you don’t have it, I use Ubuntu

    apt-get install python-virtualenv -y

    #install this libraries needed for correctly install the requirements

    apt-get install libxml2-dev libxslt1-dev libldap2-dev libsasl2-dev libssl-dev -y
    apt-get install postgresql-server-dev-X.Y

    #create a virtualenv

    mkdir -p /opt/virtualenv/odoo-9.0
    virtualenv /opt/virtualenv/odoo-9.0

    #activate the virtualenv

    source /opt/virtualenv/odoo-9.0/bin/activate

    #install Odoo v9 requirements

    pip install -r /opt/odoo/server/requirements.txt

    #aditionaly

    pip install flanker
    pip install ofxparser

    #deactivate the virtualenv

    deactivate

    #install nodejs and require modules

    apt-get install nodejs npm
    ln -s /usr/bin/nodejs /usr/bin/node
    npm install -g less
    npm install -g less-plugin-clean-css

    That’s all I think. To run Odoo v9 using the virtualenv you have 2 options

    1- Activate the virtualenv like before and run:

    python /opt/odoo/server/odoo.py --config /path/to/config

    2- Directly use the python in the virtualenv

    /opt/virtualenv/odoo-9.0/bin/python /opt/odoo/server/odoo.py --config /path/to/config

    The config file for Odoo is where you put Odoo options such as database conections options or add others addons modules to the addons path or specify other xmlrpc_port to run Odoo. Could be something like this:

    [options]
    admin_passwd = admin
    db_host = localhost
    db_port = 5432
    db_user = odoo
    db_password = odoo
    xmlrpc_port = 8069
    addons_path = /optodoo/server/openerp/addons,/opt/odoo/extra/addons
    email_from = [email protected]

    In the addons_path option you could put a comma separated paths to addons folders

    Hope this helps

    en Tech Blog
    Odoo Website Sale Product Brand

    Diseñado para empresas

    Somos un equipo de personas apasionadas cuyo objetivo es mejorar la vida de todos a través de productos revolucionarios. Creamos grandes productos para resolver sus problemas empresariales. Nuestros productos están diseñados para pequeñas y medianas empresas dispuestas a optimizar su rendimiento.

    Contáctenos

    Plantexel
    Pedernera
    Salta Capital 
    Argenina

    • +31 653-919-302
    • [email protected]
    Síganos
    Copyright © Plantexel
    Nederlands | English (US) | Español (AR)