Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Yahoo! Mojito Framework

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
docs
examples
source
LICENSE.txt
Makefile
README.md

README.md

Yahoo! Mojito

Mojito is the JavaScript library implementing Cocktails, a JavaScript-based on-line/off-line, multi-device, hosted application platform.

Installation

via GitHub

$ git clone git@github.com:yahoo/mojito.git
$ cd mojito/source
$ npm install -g .
$ npm install .
$ mojito test

via npm

$ npm install -g mojito
$ npm install mojito

Quick Start

Make an app:

$ mojito create app simple hello
$ cd hello

Make a mojit:

$ mojito create mojit simple 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/hello/index

Documentation

http://developer.yahoo.com/cocktails/mojito

Licensing

Please see the LICENSE.txt file for details.

Third-party libraries

Mojito includes the Mulib software available here:

https://github.com/raycmorgan/Mu

Something went wrong with that request. Please try again.