Installer odoo 8 sous ubuntu 14.04 à partir de GITHUB

Depuis que la version nightly n'est plus à jour (figer au 17 avril) et que le projet openerp /odoo à migrer sur github

voici la procédure pour installer odoo 8 sous la version LTS de ubuntu 14.04 à partit de github

1  Installer les mises à jours

#apt-get update 
#apt-get upgrade
2 Installer les dependances python pour openerp / odoo 8
#apt-get install python-dateutil python-docutils python-feedparser python-jinja2 python-ldap python-libxslt1 python-lxml python-mako python-mock python-openid python-psycopg2 python-psutil python-pybabel python-pychart python-pydot python-pyparsing python-reportlab python-simplejson python-tz python-unittest2 python-vatnumber python-vobject python-webdav python-werkzeug python-xlwt python-yaml python-zsi poppler-utils python-pip python-passlib

3 Installer les packages nécessaire pour odoo 8

#apt-get install gcc python-dev mc bzr python-setuptools python-pyPdf python-babel python-feedparser python-reportlab-accel python-zsi python-openssl python-egenix-mxdatetime python-jinja2 python-unittest2 python-mock python-docutils lptools make python-psutil python-paramiko poppler-utils python-decorator python-pdftools antiword postgresql
#easy_install requests

package wkhtmltopdf 

#wget http://download.gna.org/wkhtmltopdf/0.12/0.12.1/wkhtmltox-0.12.1_linux-trusty-amd64.deb
#dpkg -i wkhtmltox-0.12.1_linux-trusty-amd64.deb



4 Install  GIT
#apt-get install  git-core

5 Installer l'utilisateur de la base de donnée pour Odoo
$sudo adduser --system --home=/opt/openerp --group openerp

$sudo su - postgres

postgres$ createuser --createdb --username postgres --no-createrole --no-superuser --pwprompt openerp

postgres$exit

6 Installer Gdata
cd /opt/



#tar zxvf gdata-2.0.17.tar.gz

#chmod -R 777 gdata-2.0.17
#cd gdata-2.0.17/


#python setup.py install


cd ..

7 Télécharger odoo

Télécharger la derniére version odoo 8 disponible de github
# cd /opt/openerp


8 Démarrer le server odoo en tant que utilisateur openerp

#cd /opt/openerp/odoo

#su - openerp -s /bin/bash

openerp$./openerp-server
9 Accéder à odoo via browser 

 Enjoy 

more info look http://getopenerp.com/install-odoo-v8-ubuntu-github/

elkafil@gmail.com

Commentaires

Unknown a dit…
Je vous remercie d abord pour le tuto..
J'ai suivie attentivement toutes les étapes, et c'était bien passé, mais lorsque je veux créer ma première base de donnée j'ai eu ce message d'erreur :

OpenERP Server Error
Traceback (most recent call last):
File "/opt/openerp/odoo/openerp/http.py", line 464, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/openerp/odoo/openerp/http.py", line 483, in dispatch
result = self._call_function(**self.params)
File "/opt/openerp/odoo/openerp/http.py", line 300, in _call_function
return self.endpoint(*args, **kwargs)
File "/opt/openerp/odoo/openerp/http.py", line 664, in __call__
return self.method(*args, **kw)
File "/opt/openerp/odoo/openerp/http.py", line 348, in response_wrap
response = f(*args, **kw)
File "/opt/openerp/odoo/addons/web/controllers/main.py", line 728, in create
params['create_admin_pwd'])
File "/opt/openerp/odoo/openerp/http.py", line 738, in proxy_method
result = dispatch_rpc(self.service_name, method, args)
File "/opt/openerp/odoo/openerp/http.py", line 92, in dispatch_rpc
result = dispatch(method, params)
File "/opt/openerp/odoo/openerp/service/db.py", line 79, in dispatch
return fn(*params)
File "/opt/openerp/odoo/openerp/service/db.py", line 122, in exp_create_database
_create_empty_database(db_name)
File "/opt/openerp/odoo/openerp/service/db.py", line 91, in _create_empty_database
cr.execute("""CREATE DATABASE "%s" ENCODING 'unicode' TEMPLATE "%s" """ % (name, chosen_template))
File "/opt/openerp/odoo/openerp/sql_db.py", line 155, in wrapper
return f(self, *args, **kwargs)
File "/opt/openerp/odoo/openerp/sql_db.py", line 230, in execute
res = self._obj.execute(query, params)
ProgrammingError: permission denied to create database

donc j'ai pas l'autorisation pour créer les base de données.
comment je peux réglé ça ?

Merci d'avance