ODOO 源代码安装要求
ref:http://www.odoo.com/documentation/10.0/setup/install.html#setup-install-source
python 版本是2.7.9
【
Note
if Python is already installed, make sure it is 2.7.9, previous versions are less convenient and 3.x versions are not compatible with Odoo
】
还需要安装一些依赖包 都在requirements.txt里面
windows 下可以通过 psycopg
来安装
需要注意的是 windows下安装需要预先处理requirements.txt
- remove
psycopg2
as you already have it. - remove the optional
python-ldap
,gevent
andpsutil
because they require compilation. - add
pypiwin32
because it's needed under windows.
pillow==3.4.1可能会安装不上,直接下载相应的安装包即可
使用pip安装
pip install -r requirements.txt
依赖包安装完毕后要安装node.js,并添加路径
重启后运行npm install -g less
TODO:数据库如何创建?