在执行以下安装命令前,请确保已安装Pomelo。pomelo init
执行npm-install.sh(Windows请使用npm-install.bat)安装项目依赖:
$ sh npm-install.sh
启动游戏服务器:
$ cd game-server
$ pomelo start
启动Web服务器:
$ cd web-server
$ node app.js
在执行以下安装命令前,请确保已安装Pomelo。pomelo init
执行npm-install.sh(Windows请使用npm-install.bat)安装项目依赖:
$ sh npm-install.sh
启动游戏服务器:
$ cd game-server
$ pomelo start
启动Web服务器:
$ cd web-server
$ node app.js