Skip to content

leancloud/rps-game

Repository files navigation

Client Engine Node.js Getting Started

LeanCloud Client Engine 服务端示例项目(Node.js)

本地开发

Server

DEBUG=ClientEngine*,StatefulGame* lean up

Client

lean up --cmd "npm run dev:client" -p 4000

Then open http://localhost:4000.

生产环境

Build

npm run build

Serve

npm start