首页 > Web开发 > 详细

jsgen 搭建

时间:2014-10-14 16:42:20      阅读:319      评论:0      收藏:0      [点我收藏+]

1,mongodb

2,redis 

http://www.cnblogs.com/lxx/archive/2013/06/04/3116985.html

3,npm install

最好在vs command 里运行

http://stackoverflow.com/questions/18774929/npm-install-g-karma-error-msb4019-the-imported-project-c-microsoft-cpp-defau

4,无法删除 The file name(s) would be too long for the destination folder

http://answers.microsoft.com/en-us/windows/forum/windows_7-files/error-message-the-file-names-would-be-too-long-for/067ac100-b82a-4754-9fb5-9dd50aed8b90

4,check config file error: TypeError: Object #<Object> has no method ‘upyun‘ ,

node app.js install

5,必须的步骤

npm install node-gyp    //windows需要先运行此命令,linux不需要
                        //此命令依赖python和vs2012,请参考 https://github.com/TooTallNate/node-gyp/wiki/Visual-Studio-2010-Setup
npm install             //npm安装依赖模块,请确保依赖模块全部安装好。
                        //windows下请运行 npm install --msvs_version=2012
node app.js install     //启动jsGen之前,初始化MongoDB数据库
node app.js [recache]   //正式启动,可选参数 `recache`,启动时重建redis缓存

npm start               //正常启动,或 `node app.js`

jsgen 搭建

原文:http://www.cnblogs.com/yyjj/p/4024485.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!