Mojito is the JavaScript library implementing Cocktails, a JavaScript-based on-line/off-line, multi-device, hosted application platform.
$ git clone git://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:
http://localhost:8666/@HelloMojit/index
Run Unit Tests:
$ mojito test app .
Generate documentation:
$ mojito docs app hello
- Mojito Home Page - http://developer.yahoo.com/cocktails/mojito
- Mojito Docs Navigation - http://developer.yahoo.com/cocktails/mojito/docs/
- Mojito FAQ - http://developer.yahoo.com/cocktails/mojito/docs/faq/
- Mojito Introduction - http://developer.yahoo.com/cocktails/mojito/docs/intro/
- Mojito Getting Started - http://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: http://developer.yahoo.com/cocktails/mojito/api/
http://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: