myhero v0.1.2
Myhero - To Be Your Dream Maker
A nodejs game server, based on NetEase/myhero.
Installation
You can clone myhero into local:
$ git clone https://github.com/justlua/myhero.gitbut we recommend you to global install myhero:
$ npm install myhero -gNote: maybe you should use sudo to npm install
Usage
First of all, you should initialize a your project after install:
$ myhero init <your-project-name>A <your-project-name> directory will be created after init done,
and then you can find two important directories under <your-project-name>:
one is game-server, another one is web-server.
For most of developers, we just need focus on game-server.
If your client is a H5 web, web-server will be used, or you can just use web-server
to build your http/https server.
Now, let's start game server:
$ cd <your-project-name>
$ cd game-server
$ myhero start .and stop server just run:
$ myhero stop .6 years ago
6 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago