如何在Mac OS X Mavericks上安装OpenERP ?

时间:2021-05-03 20:23:29

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 openerpI got the error like createuser:command not found I also got an error when I type psql.

我试着安装它brew install postgresql我成功安装了postgresql,但是当我使用以下命令创建用户时,createuser openerpI出现了类似createuser:command not found的错误,我输入psql时也出现了错误。

2 个解决方案

#1


6  

Note: OpenERP is now called Odoo.

注意:OpenERP现在被称为Odoo。

  1. Make sure you have brew installed.
  2. 确保你已经安装了brew。
  3. brew install postgresql
  4. 酿造安装postgresql
  5. postgres -D /usr/local/var/postgres or launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
  6. postgres -D /usr/ local/var/postgrel load或launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
  7. createdb odootest (not really needed if you use sample data)
  8. createdb odootest(如果您使用示例数据,则不需要)
  9. git clone https://github.com/odoo/odoo.git, the repo is 500MB big so this takes a while
  10. git复制https://github.com/odoo/odoo.git, repo是500MB大,所以这需要一段时间。
  11. cd odoo
  12. cd odoo
  13. 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)
  14. git checkout origin/7.0切换到7.0分支(这应该是更好的命令,因为它将我留在分离的head中,请编辑)
  15. sudo python setup.py install, this will also install many dependencies with easy_install, ignore all the warnings
  16. sudo python设置。py安装,这也将安装easy_install的许多依赖项,忽略所有的警告
  17. python openerp-server -s to start with sample data generated by odoo. If you
  18. python openerp-server -s从odoo生成的示例数据开始。如果你

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.

我还不得不sudo easy_install pyPdf,但我不确定这是不是因为我第一次尝试了master分支。如果您遇到丢失库的错误,只需安装它们。

#2


1  

  1. Install PostgreSQL
  2. 安装PostgreSQL
  3. Create a user for OpenERP
  4. 为OpenERP创建一个用户
  5. Install all dependencies for Python, using brew or MacPorts
  6. 使用brew或MacPorts为Python安装所有依赖项
  7. Download OpenERP and extract it
  8. 下载OpenERP并提取它
  9. Run the following command: cd openerp; python openerp-server
  10. 运行以下命令:cd openerp;python openerp-server

#1


6  

Note: OpenERP is now called Odoo.

注意:OpenERP现在被称为Odoo。

  1. Make sure you have brew installed.
  2. 确保你已经安装了brew。
  3. brew install postgresql
  4. 酿造安装postgresql
  5. postgres -D /usr/local/var/postgres or launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
  6. postgres -D /usr/ local/var/postgrel load或launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
  7. createdb odootest (not really needed if you use sample data)
  8. createdb odootest(如果您使用示例数据,则不需要)
  9. git clone https://github.com/odoo/odoo.git, the repo is 500MB big so this takes a while
  10. git复制https://github.com/odoo/odoo.git, repo是500MB大,所以这需要一段时间。
  11. cd odoo
  12. cd odoo
  13. 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)
  14. git checkout origin/7.0切换到7.0分支(这应该是更好的命令,因为它将我留在分离的head中,请编辑)
  15. sudo python setup.py install, this will also install many dependencies with easy_install, ignore all the warnings
  16. sudo python设置。py安装,这也将安装easy_install的许多依赖项,忽略所有的警告
  17. python openerp-server -s to start with sample data generated by odoo. If you
  18. python openerp-server -s从odoo生成的示例数据开始。如果你

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.

我还不得不sudo easy_install pyPdf,但我不确定这是不是因为我第一次尝试了master分支。如果您遇到丢失库的错误,只需安装它们。

#2


1  

  1. Install PostgreSQL
  2. 安装PostgreSQL
  3. Create a user for OpenERP
  4. 为OpenERP创建一个用户
  5. Install all dependencies for Python, using brew or MacPorts
  6. 使用brew或MacPorts为Python安装所有依赖项
  7. Download OpenERP and extract it
  8. 下载OpenERP并提取它
  9. Run the following command: cd openerp; python openerp-server
  10. 运行以下命令:cd openerp;python openerp-server