标签:
1安装npm
sudo apt-get install npm
sudo apt-get install node
sudo apt-get install nodejs-legacy
2安装express
sudo npm install -g express
sudo apt-get install node-express
3用express(类似于ruby的rails)框架生成app
express -t ejs microblog
4安装
cd microblog && npm install
标签:
原文地址:http://www.cnblogs.com/xueyuwyz/p/4250716.html