参考 https://github.com/NetEase/pomelo/wiki/pomelo的HelloWorld
在命令行下输入命令
pomelo init 路径/HelloWorld
进入项目路径,windows用户,可以直接运行
npm-install.bat
在初始化项目的时候,用户需要选择其底层使用的通信协议,分为socket.io和websocket。
参考 https://github.com/NetEase/pomelo/wiki/pomelo的HelloWorld
在命令行下输入命令
pomelo init 路径/HelloWorld
进入项目路径,windows用户,可以直接运行
npm-install.bat
在初始化项目的时候,用户需要选择其底层使用的通信协议,分为socket.io和websocket。