thinkjs 学习笔记

安装thinkjs,博客系统
----------------------------------------------------
下载:https://github.com/75team/firekylin
解压,在项目目录执行安装
sudo npm install --registry=https://registry.npm.taobao.org #淘宝镜像安装

 

安装thinkjs的调试
------------------------------------------------------
sudo npm install -g node-inspector

#注释掉插件,InjectorClient.js文件,111行
/usr/local/lib/node_modules/node-inspector/lib/InjectorClient.js:111 cb(error, NM[0].ref);

cd 项目目录
sudo node --debug www/development.js & node-inspector

 

posted @ 2017-02-12 14:31  geek程序员  阅读(224)  评论(0编辑  收藏  举报