Tested on macos High Sierra (10.13.3)
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ brew update
$ brew install python
$ brew install postgresql
$ brew install freetype jpeg libpng libtiff webp xz
$ ln -sfv /usr/local/opt/postgresql/*.plist ~/Library/LaunchAgents
$ launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
$ brew install npm
$ npm install -g less
I recommend using virtualenvwrapper
$ mkvirtualenv odoo -p /path/to/python2.7 # generally /usr/bin/python2.7
$ which python # should return:
/Users/<user>/.virtualenvs/odoo/bin/python
Use deactivate
to get out of odoo environment, use workon odoo
to activate the
environment.
$ cd ~/projects
$ git clone https://github.com/odoo/odoo.git odoo
$ cd odoo
$ git checkout 9.0
$ pip install -r requirements.txt
You should now be able to start a simple odoo instance with python odoo.py
Missing codaparserexception
pip install pycoda
Can't update product_scale_log
table (I did not write down the exact error)
truncate table product_scale_log