搭建本地node服务

时间:2016-03-03 19:30:05   收藏:0   阅读:206

1,安装好nodejs

2,运行npm install anywhere -g 安装anywhere

3,从命令终端进入你的项目目录,运行anywhere youpoint  例如:anywhere 8860

至此,你的服务已运行起来,不要关掉命令窗口,关掉命令窗口,就等于关掉了你的服务

在浏览器输入 http:yourip:yourpoint/yourhtml.html,运行你的项目,例如:http:111.11.1.11:9000/index.html

 

原文:http://www.cnblogs.com/startDream/p/5239656.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!