How to install OpenERP on Mac OS X Mavericks?

Atul Jain picture Atul Jain · Feb 22, 2014 · Viewed 7.7k times · Source

I want to install OpenERP v7 on Mac OS X. How can I install it?

I tried to install it brew install postgresql I succeed to install postgresql but when I create the user with following command createuser openerpI got the error like createuser:command not found I also got an error when I type psql.

Answer

kqw picture kqw · Jul 2, 2014

Note: OpenERP is now called Odoo.

  1. Make sure you have brew installed.
  2. brew install postgresql
  3. postgres -D /usr/local/var/postgres or launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
  4. createdb odootest (not really needed if you use sample data)
  5. git clone https://github.com/odoo/odoo.git, the repo is 500MB big so this takes a while
  6. cd odoo
  7. git checkout origin/7.0 switch to 7.0 branch (this should be a better command because it leaves me in detached head, please edit)
  8. sudo python setup.py install, this will also install many dependencies with easy_install, ignore all the warnings
  9. python openerp-server -s to start with sample data generated by odoo. If you

I also had to sudo easy_install pyPdf but I'm not sure if that's because I first tried the master branch. If you experience errors for missing libraries simply easy_install them.