环境搭建

参考文章:

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

 

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

 

pip install  Werkzeug argparse decorator docutils feedparser gdata gevent greenlet jcconv lxml mock ofxparse passlib psutil psycogreen psycopg2 pyPdf pydot pyparsing pyserial python-dateutil python-ldap python-openid pytz pyusb qrcode reportlab requests simplejson six suds-jurko unittest2 vatnumber vobject wsgiref xlwt

二进制安装方法:

pkg install  py27-xlwt py27-pillow

安装nodejs

1  curl -O https://nodejs.org/dist/v4.1.1/node-v4.1.1.tar.gz



/usr/ports/www/node
cd /usr/ports/www/node-devel/ && make install clean

安装nodejs、node-less 

安装 npm

pkg install npm

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


或者

1  /usr/ports/japanese/less && make install clean

 pkg install less

sass

 

cd /usr/ports/devel/ruby-gems && make install clean

更新gem server。

gem sources --remove https://rubygems.org/
gem sources -a https://ruby.taobao.org/
gem sources -l

安装sass

gem install sass

 

你可能感兴趣的:(环境搭建)