node package manager
Stop writing boring code. Discover, share, and reuse within your team. Create a free org ยป


mojito-cli-start Build Status

This package provides the start command to start a Mojito server, for the mojito-cli tool. Install with npm install -g mojito-cli.

Start a node.js http server and running your Mojito application:

mojito start [<port>] [--context "key1:value1,key2:value2,key3:value3"]

If a port is not specified, the environment variable $PORT will be used if it's set. Otherwise, the appPort config in the application's application.json will be used, or lastly 8666 is the default.

See Specifying Context to learn how to use the --context option.


Licensing and Contributions

This software is free to use under the Yahoo! Inc. BSD license. See LICENSE.txt. To contribute to the Mojito project, please see Contributing.

The Mojito project is a meritocratic, consensus-based community project, which allows anyone to contribute and gain additional responsibilities.