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/source
$ 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
Edit application.json to configure mojit so that it looks like:
[
{
"settings": [ "master" ],
"specs": {
"hello": {
"type": "HelloMojit"
}
}
}
]
Start the server:
$ mojito start
Go to URL:
http://localhost:8666/@HelloMojit/index
http://developer.yahoo.com/cocktails/mojito
http://developer.yahoo.com/forum/Yahoo-Mojito
Please see the LICENSE.txt file for details.
Mojito includes the Mulib software available here: