[英]How to install OpenERP on Mac OS X Mavericks?
I want to install OpenERP v7 on Mac OS X. How can I install it? 我想在Mac OS X上安装OpenERP v7。如何安装它?
I tried to install it brew install postgresql
I succeed to install postgresql but when I create the user with following command createuser openerp
I got the error like createuser:command not found
I also got an error when I type psql
. 我试图安装它brew install postgresql
我成功安装postgresql但是当我用以下命令创建用户createuser openerp
我得到了错误,如createuser:command not found
我在输入psql
时也遇到了错误。
Note: OpenERP is now called Odoo. 注意:OpenERP现在称为Odoo。
brew install postgresql
postgres -D /usr/local/var/postgres
or launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
postgres -D /usr/local/var/postgres
或launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
createdb odootest
(not really needed if you use sample data) createdb odootest
(如果使用样本数据则不需要) git clone https://github.com/odoo/odoo.git
, the repo is 500MB big so this takes a while git clone https://github.com/odoo/odoo.git
是500MB大,所以这需要一段时间 cd odoo
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) git checkout origin/7.0
切换到7.0分支(这应该是一个更好的命令,因为它让我处于分离头,请编辑) sudo python setup.py install
, this will also install many dependencies with easy_install
, ignore all the warnings sudo python setup.py install
,这还将使用easy_install
安装许多依赖项,忽略所有警告 python openerp-server -s
to start with sample data generated by odoo. python openerp-server -s
以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. 我还必须sudo easy_install pyPdf
但是我不确定这是否是因为我首先尝试了master分支。 If you experience errors for missing libraries simply easy_install
them. 如果您遇到缺少库的错误,只需easy_install
即可。
brew
or MacPorts 使用brew
或MacPorts安装Python的所有依赖项 cd openerp; python openerp-server
运行以下命令: cd openerp; python openerp-server
cd openerp; python openerp-server
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.