环境搭建

参考文章:

Python 环境搭建 http://www.runoob.com/python/python-install.html

Python安装 这个是个25的 http://blog.csdn.net/dqatsh/article/details/2469102

pip的安装  http://blog.chinaunix.net/xmlrpc.php?r=blog/article&uid=20776139&id=4733351

pip   https://pip.pypa.io/en/latest/installing/

linux 下使用supervisor管理源码启动的openerp http://shine-it.net/index.php/topic,4250.0.html

----------------------------------------------------------------------------------

1.安装python

pkg install python27

2.安装pip及所需环境

 

pkg install py27-pip py27-setuptools

 pip install --upgrade pip

cd /usr/ports/net/openldap24-server/ 
make install -D WITH_SASL -D WITH_SHELL -D WITH_OPENSSL_PORT

 

cd /your-odoo-dir/
pip install -r requirements.txt --index http://pypi.douban.com/simple --trusted-host pypi.douban.com

遇错可用pkg安装方法:

pkg install  py27-xlwt py27-pillow py27-lxml py27-yaml py27-chart


安装nodejs

安装nodejs、node-less 

pkg search node
pkg install node

pip install nodejs



pkg install npm
npm install -g less less-plugin-clean-css
 

http://www.liuff.com/node-js-official-installation-guide-building-and-installing-node-js.html

 

安装 sass:

pkg search sass

pkg install rubygem-sass-3.4.22

上面的操作我遇到了下面的错误

SSL_connect returned=1 errno=0 state=error: certificate verify failed (https://rubygems-china.oss-cn-hangzhou.aliyuncs.com/specs.4.8.gz)

解决方法

http://www.justinball.com/2012/09/12/getting-this-ssl_connect-returned1-errno0-statesslv3-read-server-certificate-b-certificate-verify-failed/

posted @ 2015-09-06 07:44  r|sh  阅读(264)  评论(7编辑  收藏  举报