First, install Node.js
sudo apt-get install nodejs
Second, install npm
sudo apt-get install npm
change npm source , the use of domestic Tsinghua source
npm config set registry http://npm.tuna.tsinghua.edu.cn/registry
remove SSL ( must be removed , otherwise it will error ) (UNABLE_TO_VERIFY_LEAF_SIGNATURE)
npm config set strict-ssl false
install sm
sudo npm install -g sm
Third, install Cloud9 IDE
git clone git://github.com/ajaxorg/cloud9.git
cd cloud9
sm install
run Cloud9
bin/cloud9.sh
open chrome input address
http://127.0.0.1:3000
began to study ing ...
this was very useful thank u very much..
回复删除