+91-903-347-2982,+91-987-935-4457   contact@serpentcs.com

OpenERP Installation Guide on MAC OSX 10.9

OpenERP Version 7 Installation on Mac OSX 10.9 There are Many ways to install OpenERP and dependent packages on Mac like using pip, port and brew. Here is the steps to install OpenERP using ports. To get port command working you need to Download and install Macports. 

Install PostgreSQL 9.3 Server

Installing PostgreSQL Server is required to connect to postgres and create database.

Download PostgreSQL package and install it.

After successful installation we need to create our system user as a postgres superuser. Run following terminal commands to create user.

sudo su – postgres

createuser <your system username>

It will prompt you to make this user as super user? YES

Make it superuser

psql93 template1 -U postgres -W

this might be psql or psql with version depends on installation

This will ask for posrgres user password and give you template1 connection

ALTER USER <your system username> WITH password ‘your password’;

Above query will set password for system username in postgres.

exit

You will back to system user prompt

We successfully installed Postgres Server

To check the installation you can run this command

psql93 -l

It will list out available databases list

 

Installing OpenERP Dependencies

We will goto root user prompt to install all dependencies with following command

sudo -i

We will install python 2.6 and dependent packages in python 2.6

port install python26

port select python python26

port install py26-setuptools; easy_install setuptools

port install py26-psycopg2 + postgresql93; easy_install psycopg2

port install py26-reportlab; easy_install report lab

port install py26-lxml; easy_install lxml

port install py26-tz; easy_install pytz

port install py26-mako; easy_install mako

port install py26-dateutil; easy_install DateUtils

port install graphviz + python26 +no_x11

port install py26-parsing; easy_install pyparsing

port install py26-pil; easy_install pil

port install py26-docutils; easy_install docutils

port install py26-openerp-auth-openid; easy_install openerp-auth-openid

port install py26-pip; easy_install pip

port install py26-mock; easy_install mock

port install py26-unittest2; easy_install unittest2

port install py26-Werkzeug; easy_install Werkzeug

port install py26-mxdatetime; easy_install mxdatetime

port install py26-caldav; easy_install caldav

port install py26-pydot; easy_install pydot

port install py26-feedparser; easy_install feed parser

sudo port py26-babel; easy_install babel

Install PyChart using following commands.

wget http://download.gna.org/pychart/PyChart-1.39.tar.gz 

tar xvfz PyChart-1.39.tar

cd PyChart-1.39

sudo python2.6 setup.py build

sudo python2.6 setup.py install

 

For the missing packages or unknown packages you can check package names on below link and install package based on package name with port command.

https://pypi.python.org/simple/

Get Source from bazaar

Install bzr on Mac using brew

brew install bzr

Get OpenERP stable version 7 source from Launchpad

 

$ bzr lp:openobject-server/7.0 serve

$ bzr branch lp:openobject-addons/7.0 addons

$ bzr branch lp:openerp-web/7.0 web-client

 

We are done and ready to run OpenERP from terminal

python2.6 openerp-server –addons-path=../addons/,../web-client/addons/ –db_host=localhost –db_port=5432 -u <system user> -w <password>

For ODOO V8 we need to install this lib :

Download Python-Passlib : https://pypi.python.org/pypi/passlib

Extract and goto directory and run : python setup.py install

References :

http://code.zoia.org/2013/05/09/setting-up-openerp7-on-osx-using-virtualenv

http://macfreak84.blogspot.in/2011/02/installing-openerp-6-server-on-mac-os-x.html

user image
indra WisdomOn, 26 June 2018

There is a reason why I bought a Mac, it was not to be one of the cool kids that wanted the best of the best. No it was because of the music production I do on it. Hours and hours sitting in front of my Mac copying, pasting, moving, deleting, hour after hour just beating on my Mac in a endless assault to get my work done. That is the key part, my work. I work from home, it is great, but even if it is from home it is still work and it still needs to get done. So my Mac, I have it because it is fast, gets the job done and comes back for more. But what happens when it doesn't want to do those things anymore? I move around massive amounts of information and yes even on the almighty Mac this can cause a problem after a while. Things fragment, programs get corrupted issues come up. My light speed Mac slows down to a crawl and all of the sudden I simply can not get any work done. Because I work from home there is no IT guy to call and ask to come fix it. No instead I have to figure out what is wrong. I am lucky, I did, but not after trying everything under the sun first and wasting countless hours looking for one program that can do what I needed instead of ten programs. One program to lead them all….okay that was a lame Lord of the rings reference, but that program was/is Detox My Mac. A simple to use program that did not just fix my issues, it put my Mac on overdrive again. A few clicks and my Mac was clean and ready to rock and roll again. Read more here:- http://detox-my-mac.com?duhhf9265hskfhf98346