v0.9.25
2 files changed
tree: e0ccfc275d9e30cfbd273555a668be81e29cba84
  1. assets/
  2. bin/
  3. build/
  4. doc/
  5. lib/
  6. targets/
  7. test/
  8. thirdparty/
  9. .bowerrc
  10. .csslintrc
  11. .gitignore
  12. .jshintignore
  13. .jshintrc
  14. bower.json
  15. configure
  16. HACKING.md
  17. Jakefile
  18. LICENSE
  19. NOTICE
  20. package.json
  21. README.md
README.md

Apache Ripple(tm)

A browser based, platform agnostic mobile application development and testing tool.

Build Requirements

  • OSX / Linux
  • nodejs, npm
  • Windows
  • nodejs, npm
  • Python (v.2.7.x recommended, v.3.x.x is not supported)
  • Visual Studio 2010. The setup instructions can be found here
  • Ripple uses Bower for js libraries managing. In order to use Bower on Windows, msysgit must be installed in a proper way - see Bower's README.md

Getting Started

If you plan to dive into the source, be sure to check out the HACKING file.

To get started, you need to setup a few things, first- run (in the project root):

./configure

This script will pull down the needed npm packages and initialize the submodules.

Build Commands

jake

This will build ripple to the pkg/ folder. In that folder there are various targets that can be used.

jake -T

This will describe all the available commands for building and running the tests, etc.

Running Inside Other Web Browsers

Ripple is (by-design) browser agnostic, and should be able to run inside any web browser.

If you want to run it inside other browsers, you will need to use the pkg/hosted target, paired with the CLI's emulate command.

Ex (using the NPM package):

ripple emulate --path to/my/app

# or

ripple emulate --remote http://remote-site.com

Then navigating to (your app's html file):

http://localhost:PORT/index.html?enableripple=true

CLI & NPM Package

There is a command line interface that can be paired with the client (UI).

It can be used for various things, such as statically hosting an application, and running a local (cross origin) XHR proxy.

To install:

npm install -g ripple-emulator

This will install a global script called ripple. To see usage, run:

ripple help

Contributing

The master branch is the latest (stable) release. The next branch is where all development happens.

If you like the project, and want to contribute code, please issue a pull request (on GitHub) into the next branch.

Note: You will need to submit an Apache ICLA (Individual Contributor License Agreement) for your contribution to be accepted.

Code Guidelines

  • 4 spaces per editor tab.
  • jake lint, no new lint errors introduced.
  • All unit tests are green.

Reference Material & Community