一.ngcore文档:
https://developer-sandbox.mobage.com/cn/resources/ngcore-encyclopedia
二. ngcore start server
Setup Instructions
=================================================================================
As of version 1.9, ngCore development is supported only on OS X.
1) Install Node.js (version 0.6.5 or greater) to run the included development
server. Download the Node.js installer from http://nodejs.org/.
2) Install Flash Player if necessary. You can check whether Flash Player is
installed and, if necessary, download the Flash Player installer at
http://get.adobe.com/flashplayer/.
NOTE: You must be using Flash Player 11 or later.
3) Verify that Java is installed. If not, go to
http://support.apple.com/downloads/, then search for "Java".
4) Open a command-line prompt, then change to the SDK directory.
5) If you are developing for the Mobage JP platform, run the command
"make toggle-jp". For the Mobage West (US/worldwide) platform, run
"make toggle-us". You can use this command at any time to switch between
platforms.
6) Start the development server from the SDK directory:
sudo make server
See README-server.md for information about the development server's
command-line options.
7) Test from your web browser by navigating to either of these samples:
http://localhost:8002/Samples/Sprites/
http://localhost:8002/Samples/Touch/
The Chrome, Safari, and Firefox web browsers are supported.
NOTE: To test apps that use the Bank and Social APIs, you must use a
different URL to launch the app. See "Testing Bank and Social APIs on
Flash" for details.
8) Install iOS and/or Android clients. See the documentation on the Developer
Portal (https://developer.mobage.com/) for detailed instructions.
For Android, the following types of clients are provided:
- debug: Enables support for the V8 debugger.
- profile: Enables support for V8 profiling.
- release: No debugger or profiling support.
For iOS, debug and release clients are provided.