Mojito is the JavaScript library implementing Cocktails, a JavaScript-based on-line/off-line, multi-device, hosted application platform.
$ git clone git:https://github.com/yahoo/mojito.git
$ cd mojito
$ npm install -g .
$ npm install .
$ npm install -g mojito
Create an app and install local Mojito:
$ mojito create app hello
$ cd hello
$ npm install .
Create a mojit:
$ mojito create mojit HelloMojit
Start the server:
$ mojito start
Go to URL:
https://localhost:8666/@HelloMojit/index
Run Unit Tests:
$ mojito test app .
Generate documentation:
$ mojito docs app hello
- Mojito Home Page - https://developer.yahoo.com/cocktails/mojito
- Mojito Docs Navigation - https://developer.yahoo.com/cocktails/mojito/docs/
- Mojito FAQ - https://developer.yahoo.com/cocktails/mojito/docs/faq/
- Mojito Introduction - https://developer.yahoo.com/cocktails/mojito/docs/intro/
- Mojito Getting Started - https://developer.yahoo.com/cocktails/mojito/docs/getting_started/
- Running the following command will generate API docs and locally save them to
./artifacts/docs/mojito/
$ mojito docs mojito
- View the Mojito API documentation on YDN: https://developer.yahoo.com/cocktails/mojito/api/
https://developer.yahoo.com/forum/Yahoo-Mojito
Mojito is licensed under a BSD license. 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.
Mojito includes the Mulib software available here: