Overslaan naar inhoud
  • +31 653-919-302
Cafayate.Net
  • 0
  • 0
  • Aanmelden
  • Nederlands English (US) Español (AR)
  • Contact
  • Startpagina
  • Blog
  • Vacatures
  • Contact
Cafayate.Net
  • 0
  • 0
    • Startpagina
    • Blog
    • Vacatures
    • Contact
  • +31 653-919-302
  • Nederlands English (US) Español (AR)
  • Aanmelden
  • Contact

How can I install Odoo 9?

  • Alle blogs
  • Tech Blog
  • How can I install Odoo 9?
  • 5 maart 2021 in
    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

    in Tech Blog
    Odoo Website Sale Product Brand

    Ontworpen voor bedrijven

    We zijn een team van gepassioneerde mensen met als doel levens te verbeteren met vernieuwende producten. We ontwikkelen geweldige oplossingen voor al je zakelijke uitdagingen. Onze producten zijn ontworpen voor kleine tot middelgrote bedrijven die hun prestaties willen optimaliseren.

    Neem contact op

    Plantexel
    Pedernera
    Salta Capital 
    Argentina

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