odoo in opensuse leap

Installing odoo dependencies in Opensuse Leap

I am assuming you have odoo source in your pc/server. Following are the ways to install odoo dependencies and necessary tools:

Installing python packages:

sudo zypper in python-dateutil python-docutils python-feedparser python-gdata python-gevent python-Jinja2 
python-suds-jurko python-ldap python-lxml python-Mako python-mock python-python-openid python-passlib python-psutil 
python-psycopg2 python-pydot python-pyparsing python-pypdf python-reportlab python-requests python-simplejson 
python-pytz python-unittest2 vobject python-Werkzeug python-xlwt python-PyYAML python-Babel python-openbabel 
python-pyserial python-qrcode python-usb python-psycogreen python-lesscpy nodejs nodejs-npm python-Pillow 
python-beatifulsoup4

Install ofxparser:

Download form here – https://pypi.python.org/pypi/ofxparse
then extract and install –

cd ofxparse
sudo python setup.py install

Python-Chart:
Download from here – http://download.gna.org/pychart/
Then run following by navigating to pychart –

python setup.py install

Node.js, npm and node-js-less install:

sudo zypper ar \
http://download.opensuse.org/repositories/devel:/languages:/nodejs/openSUSE_13.1/ \
Node.js
sudo zypper in nodejs nodejs-devel
sudo npm install -g less
sudo npm install -g less-plugin-clean-css

Postgresql 9.3 install:
see info:

zypper info postgresql93-server

install:

sudo zypper install postgresql93-server postgresql93 postgresql93-test

Start service:

sudo service postgresql start

Change localhost ip permission:

pg_hba.conf > trust (for development purpose)

Create login role:

createuser --createdb --username postgres --no-createrole --pwprompt odoo

More configuration: http://it.tuxie.eu/?p=468

wkhtmltopdf install:
Run this via yast:

https://software.opensuse.org/ymp/home:winski/openSUSE_Leap_42.1/wkhtmltopdf.ymp?base=openSUSE%3ALeap%3A42.1&query=wkhtmltopdf

 

Leave a Reply

Your email address will not be published. Required fields are marked *