please make sure you have python2 installed on your system
for Ubuntu 1604 , you can install it by:
apt install python-minimal
git clone https://github.com/roytan883/chatofpomelo-rt
cd chatofpomelo-rt && cd game-server && npm install && cd ../web-server && npm install && cd ..
cd game-server && pm2 start pm2/pm2-dev.json && cd ../web-server && pm2 start pm2/pm2-dev.json && cd ..
cd game-server
node app.js env=development id=master-server-1 host=127.0.0.1 port=13005 type=master
node app.js env=development id=connector-server-1 host=127.0.0.1 port=14050 clientPort=13050 frontend=true serverType=connector
node app.js env=development id=chat-server-1 host=127.0.0.1 port=16050 serverType=chat
node app.js env=development id=gate-server-1 host=127.0.0.1 clientPort=13014 frontend=true serverType=gate
cd web-server
node app.js
serverIP should be your server ip