使用说明:(Linxu版本)
wget https://github.com/lightning-zgc/xiaomai/archive/master.zip
unzip master.zip
cd xiaomai-master
npm install
node app.js
温馨提示:
1、国内npm速度优化:
npm config set registry https://registry.npm.taobao.org
npm info underscore (如果上面配置正确这个命令会有字符串response)
2、node升级:
npm install -g n
n stable
(可能需要重启服务器)
参考资源:
http://www.expressjs.com.cn/
http://www.jb51.net/article/57864.htm
http://www.embeddedjs.com/