Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Yahoo! Mojito Framework
JavaScript Python CSS Other

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
docs
examples
lib
tests
.gitignore
.npmignore
.travis.yml
CONTRIBUTING.md
HISTORY.md
LICENSE.txt
Makefile
README.md
package.json

README.md

Black Duck OS 2012 Rookie of the Year

Yahoo! Mojito

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

Build Status

Installation

via GitHub

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

via npm

$ npm install -g mojito

Quick Start

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

Documentation

General

Contributing to Documentation

Mojito documentation is present in /docs directory. To generate HTML documentation run the following commands from the documentation directories.

$ cd docs/dev_guide
$ make html

Please note that in order to generate the documentation you will need Sphinx.

API Documentation

Discussion/Forums

http://developer.yahoo.com/forum/Yahoo-Mojito

Licensing and Contributions

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.

Something went wrong with that request. Please try again.