摘要: mongod --dbpath 数据库位置 --logpath log位置 阅读全文
posted @ 2019-07-16 14:56 大表哥! 阅读(123) 评论(0) 推荐(0)
摘要: var server = http.createServer(app); var io = require('socket.io')(server); //可以把 发送人数组lists以文件储存 //one=true 第一次发送 one=false 已经发送过一次 var lists=[{uid:1,one:true},{uid:2,one:false}] io.on('conne... 阅读全文
posted @ 2019-01-31 15:00 大表哥! 阅读(104) 评论(0) 推荐(0)
摘要: 1、npm -g install supervisor(安装) 2、根目录下执行 supervisor bin/www 。。。。。。。。。。。。。。。。。。。。 。。。。。。。。。。。。。。。。。。。。 。。。。。。。。。。。。。。。。。。。。 。。。。。。。。。。。。。。。。。。。。 阅读全文
posted @ 2019-01-03 11:17 大表哥! 阅读(2365) 评论(0) 推荐(0)